news rss feed now contains html complete news, not only the first paragraph ('teaser')

svn path=/trunk/; revision=19470
This commit is contained in:
nicoulas 2011-01-28 16:03:20 +00:00
parent 36a8d44107
commit ff3c443182
2 changed files with 6 additions and 2 deletions

View File

@ -134,9 +134,9 @@
<!-- News body -->
<xsl:element name="description">
<xsl:value-of select="normalize-space(body)"/>
<xsl:copy-of select="body-complete/node()"/>
</xsl:element>
<!-- Link -->
<xsl:if test="link != ''">
<xsl:variable name="link">

View File

@ -36,6 +36,10 @@
<xsl:value-of select="/html/body/p[@newsteaser]"/>
</xsl:element>
<xsl:element name="body-complete">
<xsl:copy-of select="/html/body/node()"/>
</xsl:element>
<xsl:element name="link">
<xsl:variable name="the_link">
<xsl:value-of select="/html/@link"/>