<xsl:value-of select="$item-permalink"/>
</guid>
<pubDate>
- <xsl:value-of select="php:functionString('Tweeper::strToGmdate', normalize-space(.//date))"/>
+ <xsl:value-of select="php:functionString('Tweeper::strToRssDate', normalize-space(.//date))"/>
</pubDate>
<description>
<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text>
<img src="{$picture-url}" alt="{$picture-title}"/>
<xsl:text disable-output-escaping="yes">]]></xsl:text>
</description>
+ <xsl:if test="$generate-enclosure = 1">
+ <xsl:copy-of select="php:function('Tweeper::generateEnclosure', string($picture-url))"/>
+ </xsl:if>
</item>
</xsl:template>