You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@apache.org on 2003/06/26 05:09:49 UTC
cvs commit: cocoon-2.1/src/blocks/linotype/samples/stylesheets news2rss-0.91.xslt news2rss-2.0.xslt
stefano 2003/06/25 20:09:49
Modified: src/blocks/linotype/samples/stylesheets news2rss-0.91.xslt
news2rss-2.0.xslt
Log:
fixing problem with RSS validation, strangely enough, the RSS validator doesn't appear to validate the resulting RSS anymore because it doesn't like the <body> xhtml tag, if any RSS validation guru wants to take a look at this, it will be greatly appreciated.
Revision Changes Path
1.2 +1 -1 cocoon-2.1/src/blocks/linotype/samples/stylesheets/news2rss-0.91.xslt
Index: news2rss-0.91.xslt
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/linotype/samples/stylesheets/news2rss-0.91.xslt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- news2rss-0.91.xslt 17 Jun 2003 01:32:43 -0000 1.1
+++ news2rss-0.91.xslt 26 Jun 2003 03:09:49 -0000 1.2
@@ -25,7 +25,7 @@
<item>
<title><xsl:value-of select="n:title"/></title>
<link><xsl:value-of select="$home"/>/<xsl:value-of select="../@id"/>/</link>
- <description><xsl:apply-templates/></description>
+ <description><xsl:apply-templates select="h:body"/></description>
</item>
</xsl:template>
1.2 +1 -1 cocoon-2.1/src/blocks/linotype/samples/stylesheets/news2rss-2.0.xslt
Index: news2rss-2.0.xslt
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/linotype/samples/stylesheets/news2rss-2.0.xslt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- news2rss-2.0.xslt 17 Jun 2003 01:32:43 -0000 1.1
+++ news2rss-2.0.xslt 26 Jun 2003 03:09:49 -0000 1.2
@@ -28,7 +28,7 @@
<item>
<title><xsl:value-of select="n:title"/></title>
<link><xsl:value-of select="$home"/>/<xsl:value-of select="../@id"/>/</link>
- <description><xsl:apply-templates/></description>
+ <description><xsl:apply-templates select="h:body"/></description>
<pubDate><xsl:value-of select="@creation-fulldate"/></pubDate>
</item>
</xsl:template>