add initial support for enclosures
[tweeper.git] / rss_converter_twitter.com.xsl
index 5a57c8f..c7f03c2 100644 (file)
@@ -49,6 +49,7 @@
                 <xsl:copy-of select="$tweet-text/node()"/>
                 <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
             </description>
+            <xsl:value-of disable-output-escaping="yes" select="php:function('generate_enclosure', string(.//a[@class='twitter-timeline-link']/@data-expanded-url))"/>
         </item>
     </xsl:template>