Added event RSS feed to links.

svn path=/trunk/; revision=12180
This commit is contained in:
att 2009-02-15 16:33:03 +00:00
parent 2e4ba390ee
commit b3eb822403
1 changed files with 14 additions and 8 deletions

View File

@ -25,15 +25,21 @@
<xsl:template match="head">
<xsl:copy>
<meta name="robots" content="index, follow"/>
<link rel="stylesheet" media="all" href="/fsfeurope.css" type="text/css"/>
<link rel="stylesheet" media="print" href="/print.css" type="text/css"/>
<link rel="icon" href="/graphics/fsfeurope.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="/graphics/fsfeurope.ico" type="image/x-icon"/>
<link rel="stylesheet" media="all" href="/fsfeurope.css" type="text/css" />
<link rel="stylesheet" media="print" href="/print.css" type="text/css" />
<link rel="icon" href="/graphics/fsfeurope.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/graphics/fsfeurope.ico" type="image/x-icon" />
<xsl:element name="link">
<xsl:attribute name="rel">alternate</xsl:attribute>
<xsl:attribute name="title">FSFE <xsl:value-of select="/buildinfo/textset/text[@id='menu1/news']"/> RSS</xsl:attribute>
<xsl:attribute name="href">/news/news.<xsl:value-of select="/buildinfo/@language"/>.rss</xsl:attribute>
<xsl:attribute name="type">application/rss+xml</xsl:attribute>
<xsl:attribute name="rel">alternate</xsl:attribute>
<xsl:attribute name="title">FSFE <xsl:value-of select="/buildinfo/textset/text[@id='menu1/news']" /></xsl:attribute>
<xsl:attribute name="href">/news/news.<xsl:value-of select="/buildinfo/@language" />.rss</xsl:attribute>
<xsl:attribute name="type">application/rss+xml</xsl:attribute>
</xsl:element>
<xsl:element name="link">
<xsl:attribute name="rel">alternate</xsl:attribute>
<xsl:attribute name="title">FSFE <xsl:value-of select="/buildinfo/textset/text[@id='menu1/events']" /></xsl:attribute>
<xsl:attribute name="href">/events/events.<xsl:value-of select="/buildinfo/@language" />.rss</xsl:attribute>
<xsl:attribute name="type">application/rss+xml</xsl:attribute>
</xsl:element>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>