X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/efe782e0c9829336f31843a9d0bf9af570776ffb..3af52fa729dd3790dcd6512b5c1e7c7226e41331:/rss_converter_twitter.com.xsl diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 82a16a7..991d525 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -24,7 +24,7 @@ xsl:extension-element-prefixes="php" exclude-result-prefixes="php"> - + @@ -33,24 +33,24 @@ - + - + - - + + - <xsl:value-of select="concat($user-name, ': ', $tweet-text)"/> + <xsl:value-of select="concat($user-name, ': ', $item-content)"/> - + - + @@ -59,17 +59,26 @@ <![CDATA[ - + ]]> - - + + - + + + + + + + + + + @@ -83,7 +92,7 @@ - + @@ -93,10 +102,10 @@ <xsl:value-of select="$channel-link"/> </link> <url> - <xsl:value-of select="//a[contains(@class, 'profile-picture media-thumbnail')]/@href"/> + <xsl:value-of select="//a[contains(@class, 'profile-picture')]/@href"/> </url> </image> - <xsl:apply-templates select="//*[@data-item-type='tweet']"/> + <xsl:apply-templates select="//ol[@id='stream-items-id']/li[@data-item-id and @data-item-type='tweet']"/> </channel> </rss> </xsl:template>