From 72485ebd9b564be20255a3377d381dc1b94c0359 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 27 Feb 2015 13:10:20 +0100 Subject: [PATCH] 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. --- rss_converter_twitter.com.xsl | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) 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"/> + + + + -- 2.1.4