From: Antonio Ospite Date: Fri, 27 Feb 2015 12:10:20 +0000 (+0100) Subject: rss_converter_twitter.com.xsl: make the feed validate with feedvalidator.org X-Git-Tag: v0.4~46 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/72485ebd9b564be20255a3377d381dc1b94c0359?ds=sidebyside rss_converter_twitter.com.xsl: make the feed validate with feedvalidator.org Make the Twitter feed validate with http://feedvalidator.org and also improve compatibility by providing a guid and by excluding the weird xmlns:php namespace in the output. --- diff --git a/rss_converter_twitter.com.xsl b/rss_converter_twitter.com.xsl index a5f3c4b..76937e4 100644 --- a/rss_converter_twitter.com.xsl +++ b/rss_converter_twitter.com.xsl @@ -21,7 +21,8 @@ + xsl:extension-element-prefixes="php" + exclude-result-prefixes="php"> @@ -40,13 +41,17 @@ + <xsl:value-of select="concat($user-name, ': ', $tweet-text)"/> - + + + + @@ -64,21 +69,29 @@ + + Tweeper - <xsl:text>Twitter / </xsl:text><xsl:value-of select="$screen-name"/> + <xsl:value-of select="$channel-title"/> - + + + <xsl:value-of select="$channel-title"/> + + + +