Removed XBitHack/chmod and used htaccess instead.
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Fri, 10 Aug 2007 21:00:04 +0000 (17:00 -0400)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Fri, 10 Aug 2007 21:00:04 +0000 (17:00 -0400)
Fixed events.ics links on events page.

events/Makefile
media/.htaccess [new file with mode: 0644]
media/Makefile
xsl/events.xsl

index c001767..bf0ec90 100644 (file)
@@ -1,6 +1,3 @@
 INPUTS = index.xml old.xml
 
 include ../default.mk
-
-all:
-       :
diff --git a/media/.htaccess b/media/.htaccess
new file mode 100644 (file)
index 0000000..b22fc48
--- /dev/null
@@ -0,0 +1 @@
+AddHandler server-parsed .html
index d78baf5..67bf37f 100644 (file)
@@ -2,6 +2,3 @@ INPUTS = index.xml
 SUBDIRS = 
 
 include ../default.mk
-
-all:
-       chmod u+x *.html
index d09e292..529fe77 100644 (file)
@@ -45,7 +45,7 @@
 <xsl:template name="events-by-term">
   <xsl:param name="date" />
   <p>The events for <xsl:value-of select="csc:term($date)" /> are listed here.
-    You can also <a href="${pre}events.ics">download an ICS</a> of them.</p>
+    You can also <a href="{$pre}events.ics">download an ICS</a> of them.</p>
   <xsl:for-each select="document(concat($pwd, '/../events.xml'))/eventdefs/eventitem">
     <xsl:sort select="translate(@date, '-', '')" 
         order="ascending" data-type="number" />