<xsl:value-of select="$item-permalink"/>
</guid>
<pubDate>
- <xsl:value-of select="php:functionString('Tweeper::str_to_gmdate', 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}" />
+ <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:functionString('Tweeper::generateEnclosure', $picture-url)"/>
+ </xsl:if>
</item>
</xsl:template>