X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/24c1c47b30da99b05a68d1b4d3c3458cbcc6b962..03c5fd38ccd6c36ead6f027626c299f6d5a714f1:/rss_converter_twitter.com.xsl?ds=sidebyside diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 5a57c8f..65521ca 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -23,38 +23,50 @@ xmlns:php="http://php.net/xsl" xsl:extension-element-prefixes="php"> + + https://twitter.com - + + + + + - - + + + - <xsl:value-of select="concat($screen-name, ': ', $tweet-text)"/> + <xsl:value-of select="concat($user-name, ': ', $tweet-text)"/> - + - + + - + <![CDATA[ ]]> + + + + Tweeper @@ -68,10 +80,10 @@ </description> <image> <url> - <xsl:value-of select="//a[@class='profile-picture media-thumbnail']/@href"/> + <xsl:value-of select="//a[contains(@class, 'profile-picture media-thumbnail')]/@href"/> </url> </image> - <xsl:apply-templates select="//div[@id='timeline']//ol[@id='stream-items-id']//li[@data-item-type='tweet']"/> + <xsl:apply-templates select="//*[@data-item-type='tweet']"/> </channel> </rss> </xsl:template>