Fixed news atom feed to be valid
authorDavid Tenty <daltenty@csclub.uwaterloo.ca>
Sat, 6 Oct 2007 21:03:06 +0000 (17:03 -0400)
committerDavid Tenty <daltenty@csclub.uwaterloo.ca>
Sat, 6 Oct 2007 21:03:06 +0000 (17:03 -0400)
xsl/atom.xsl

index 58ce0fc..d1c0f6b 100644 (file)
         <xsl:for-each select="newsitem">
             <entry>
                 <link href="http://csclub.uwaterloo.ca"/>
+               <title><xsl:value-of select="."/></title>
                 <summary><xsl:value-of select="."/></summary>
                 <author><name><xsl:value-of select="@author"/></name></author>
+               <id>http://csclub.uwaterloo.ca/news/<xsl:value-of select="generate-id(.)"/></id>
+               <updated><xsl:value-of select="translate($g_datetime,' ','T')"/></updated>
             </entry>
         </xsl:for-each>
         <xsl:for-each select="eventitem">