<guid/> für RSS

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@509 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2006-08-03 15:11:44 +00:00
parent 7056922f24
commit bffd988202
1 changed files with 9 additions and 1 deletions

View File

@ -40,9 +40,17 @@
<xsl:template match="item">
<xsl:param name="newsfile"/>
<item>
<xsl:variable name="href">
<xsl:value-of select="$baseurl"/>
<xsl:value-of select="substring-before(substring-after($newsfile, 'content/'), '.xml')"/>
<xsl:text>.html</xsl:text>
</xsl:variable>
<title><xsl:value-of select="@title"/></title>
<description><xsl:apply-templates mode="escaped"/></description>
<link><xsl:value-of select="$baseurl"/><xsl:value-of select="substring-before(substring-after($newsfile, 'content/'), '.xml')"/>.html</link>
<guid isPermaLink="true"><xsl:value-of select="$href"/></guid>
<link><xsl:value-of select="$href"/></link>
<author><xsl:value-of select="@author"/></author>
<category><xsl:value-of select="@category"/></category>
<pubDate>