X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/72485ebd9b564be20255a3377d381dc1b94c0359..e64422f4586b4ba25bbc13e56b8ac02ad74d92b7:/rss_converter_twitter.com.xsl diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index 76937e4..9185a54 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -28,7 +28,7 @@ - + https://twitter.com @@ -38,19 +38,19 @@ - + - - + + - <xsl:value-of select="concat($user-name, ': ', $tweet-text)"/> + <xsl:value-of select="concat($user-name, ': ', $item-content)"/> - + - + @@ -59,11 +59,11 @@ <![CDATA[ - + ]]> - + @@ -73,7 +73,7 @@ - + Tweeper @@ -83,7 +83,7 @@ <xsl:value-of select="$channel-link"/> </link> <description> - <xsl:value-of select="//meta[@name='description']/@content"/> + <xsl:value-of select="normalize-space(//div[@class='ProfileHeaderCard'])"/> </description> <image> <title> @@ -96,7 +96,7 @@ <xsl:value-of select="//a[contains(@class, 'profile-picture media-thumbnail')]/@href"/> </url> </image> - <xsl:apply-templates select="//*[@data-item-type='tweet']"/> + <xsl:apply-templates select="//li[@data-item-type='tweet']"/> </channel> </rss> </xsl:template>