Fix link in atom feeds
This commit is contained in:
parent
262bbed146
commit
affe285203
|
@ -15,6 +15,7 @@
|
|||
<xsl:template match="//eventdefs">
|
||||
<xsl:call-template name="atom">
|
||||
<xsl:with-param name="title">Events</xsl:with-param>
|
||||
<xsl:with-param name="feedfile">events.atom</xsl:with-param>
|
||||
<xsl:with-param name="uuid">006f667f-ecae-483a-8cbc-f0c5084dccb1</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
@ -22,16 +23,18 @@
|
|||
<xsl:template match="//newsdefs">
|
||||
<xsl:call-template name="atom">
|
||||
<xsl:with-param name="title">News</xsl:with-param>
|
||||
<xsl:with-param name="feedfile">news.atom</xsl:with-param>
|
||||
<xsl:with-param name="uuid">bdae3752-0cb7-4932-b176-019076389b54</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="atom">
|
||||
<xsl:param name="title"/>
|
||||
<xsl:param name="feedfile"/>
|
||||
<xsl:param name="uuid"/>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>UW Computer Science Club <xsl:value-of select="$title"/></title>
|
||||
<link href="http://csclub.uwaterloo.ca/{$title}.atom" rel="self"/>
|
||||
<link href="http://csclub.uwaterloo.ca/{$feedfile}" rel="self"/>
|
||||
<link href="http://csclub.uwaterloo.ca/"/>
|
||||
<updated><xsl:value-of select="$g_date"/></updated>
|
||||
<id>urn:uuid:<xsl:value-of select="$uuid"/></id>
|
||||
|
|
Loading…
Reference in New Issue