Don't generate empty atom file

This commit is contained in:
David Bartley 2007-09-26 02:39:00 -04:00
parent 5756f38b81
commit 9576759ed4
1 changed files with 1 additions and 4 deletions

View File

@ -29,9 +29,6 @@
<xsl:template name="atom">
<xsl:param name="title"/>
<xsl:param name="uuid"/>
<xsl:result-document method="xml" encoding="UTF-8"
href="{concat($g_root, '/', $title, '.atom')}">
</xsl:result-document>
<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"/>