<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 != ''">
</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"><![CDATA[</xsl:text>
<xsl:text disable-output-escaping="yes">]]></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>