rss_converter_instagram.com.xsl: improve the comment about full names
[tweeper.git] / src / rss_converter_instagram.com.xsl
index e869d7d..1549512 100644 (file)
 
     <xsl:variable name="user-name" select="//ProfilePage/user/username"/>
 
-    <!-- Some users do not specify the full name -->
+    <!--
+         NOTE: some users do not specify the full name.
+
+         Remember to handle this case when using it and fall-back to the plain
+         user name when appropriate.
+    -->
     <xsl:variable name="full-name" select="//ProfilePage/user/full_name"/>
+
     <xsl:variable name="screen-name">
         <xsl:choose>
             <xsl:when test="$full-name != ''">
@@ -75,7 +81,7 @@
             </guid>
             <pubDate>
                 <xsl:variable name="timestamp" select="./date"/>
-                <xsl:value-of select="php:functionString('Tweeper::epochToRssDate', $timestamp)"/>
+                <xsl:value-of select="php:functionString('Tweeper\Tweeper::epochToRssDate', $timestamp)"/>
             </pubDate>
             <description>
                 <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
@@ -89,7 +95,7 @@
                 <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
             </description>
             <xsl:if test="$generate-enclosure = 1">
-                <xsl:copy-of select="php:functionString('Tweeper::generateEnclosure', $item-content-image)"/>
+                <xsl:copy-of select="php:functionString('Tweeper\Tweeper::generateEnclosure', $item-content-image)"/>
             </xsl:if>
         </item>
     </xsl:template>