Don't generate empty atom file
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 26 Sep 2007 06:39:00 +0000 (02:39 -0400)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 26 Sep 2007 06:39:00 +0000 (02:39 -0400)
xsl/atom.xsl

index 60367f8..6c22fd7 100644 (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"/>
@@ -62,4 +59,4 @@
        </feed>
 </xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>