From: Antonio Ospite Date: Fri, 27 Feb 2015 12:29:32 +0000 (+0100) Subject: rss_converter_howtoons.com.xsl: make the feed validate with feedvalidator.org X-Git-Tag: v0.4~43 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/ce8f3295a9e4ef132f5353b70398aa7905981af3?ds=sidebyside rss_converter_howtoons.com.xsl: make the feed validate with feedvalidator.org Make the Howtoons.com 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_howtoons.com.xsl b/rss_converter_howtoons.com.xsl index 4067065..41939f1 100644 --- a/rss_converter_howtoons.com.xsl +++ b/rss_converter_howtoons.com.xsl @@ -29,7 +29,8 @@ + xsl:extension-element-prefixes="php" + exclude-result-prefixes="php"> @@ -38,13 +39,17 @@ + <xsl:value-of select="normalize-space(.//div[@class='post-headline']//a)"/> - + + + + @@ -63,21 +68,29 @@ + + Tweeper - <xsl:value-of select="//title"/> + <xsl:value-of select="$channel-title"/> - + The world's greatest D.I.Y. comic website! Tools of mass construction! + + <xsl:value-of select="$channel-title"/> + + + + http://www.howtoons.com/wp-content/themes/atahualpa/images/header/tuck1000.png