<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:
parent
7056922f24
commit
bffd988202
10
xsl/rss.xsl
10
xsl/rss.xsl
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue