X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/efe782e0c9829336f31843a9d0bf9af570776ffb..b7350069c36900359b8f26c6e9794f614a40b20e:/rss_converter_twitter.com.xsl diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 82a16a7..6ef86dd 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,43 +33,52 @@ - + - + - - + + - <xsl:value-of select="concat($user-name, ': ', $tweet-text)"/> + <xsl:value-of select="concat($user-name, ': ', $item-content)"/> - + - + - + <![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>