Removed XBitHack/chmod and used htaccess instead.

Fixed events.ics links on events page.
news-update
David Bartley 16 years ago
parent f11125325d
commit 304118de22
  1. 3
      events/Makefile
  2. 1
      media/.htaccess
  3. 3
      media/Makefile
  4. 2
      xsl/events.xsl

@ -1,6 +1,3 @@
INPUTS = index.xml old.xml
include ../default.mk
all:
:

@ -0,0 +1 @@
AddHandler server-parsed .html

@ -2,6 +2,3 @@ INPUTS = index.xml
SUBDIRS =
include ../default.mk
all:
chmod u+x *.html

@ -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" />

Loading…
Cancel
Save