Fix more generated .html files
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Mon, 17 Dec 2007 16:00:29 +0000 (11:00 -0500)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Mon, 17 Dec 2007 16:00:29 +0000 (11:00 -0500)
xsl/events.xsl
xsl/news.xsl

index 3543cf3..f7c5d2b 100644 (file)
@@ -74,7 +74,7 @@
   <xsl:document method="xml" encoding="ISO-8859-1"
       doctype-public="-//W3C//DTD XHTML 1.1//EN"
       doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
-      href="{translate(concat($g_outdir, @room, '-', @date, '-', @time), ' ', '_')}">
+      href="{translate(concat($g_outdir, @room, '-', @date, '-', @time, '.html'), ' ', '_')}">
     <html>
       <head>
         <title><xsl:value-of select="@title" /></title>
       <xsl:document method="xml" encoding="ISO-8859-1"
             doctype-public="-//W3C//DTD XHTML 1.1//EN"
             doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
-            href="{translate(concat($g_outdir, 'old-', csc:term(@date)), ' ', '_')}">
+            href="{translate(concat($g_outdir, 'old-', csc:term(@date), '.html'), ' ', '_')}">
         <html>
           <head>
             <title>Events for <xsl:value-of select="csc:term(@date)" /></title>
index af94648..7146569 100644 (file)
@@ -69,7 +69,7 @@
       <xsl:document method="xml" encoding="ISO-8859-1"
           doctype-public="-//W3C//DTD XHTML 1.1//EN"
           doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
-          href="{translate(concat($g_outdir, 'old-', csc:term(@date)), ' ', '_')}">
+          href="{translate(concat($g_outdir, 'old-', csc:term(@date), '.html'), ' ', '_')}">
         <html>
           <head>
             <title>News for <xsl:value-of select="csc:term(@date)" /></title>