Don't generate empty atom file

news-update
David Bartley 16 years ago
parent 5756f38b81
commit 9576759ed4
  1. 5
      xsl/atom.xsl

@ -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>
</xsl:stylesheet>

Loading…
Cancel
Save