added page header atom feed link
authorDavid Tenty <daltenty@csclub.uwaterloo.ca>
Tue, 25 Sep 2007 05:21:12 +0000 (01:21 -0400)
committerDavid Tenty <daltenty@csclub.uwaterloo.ca>
Tue, 25 Sep 2007 05:21:12 +0000 (01:21 -0400)
Makefile
xsl/common.xsl

index 4baecd3..d75dbac 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ events.ics:
 
 include default.mk
 
-%.atom: %.xml
+%.atom: %.xml xsl/atom.xsl
        java -classpath $(CLASSPATH) net.sf.saxon.Transform -o $@  $< $(ROOT)/xsl/atom.xsl $(XSLTARGS)
        sed -i 's| xmlns=""||' $@
 
index a449bbd..1cb5dfc 100644 (file)
@@ -11,6 +11,8 @@
   <html>
     <head>
       <link rel="shortcut icon" href="/favicon.ico" />
+      <link rel="alternate" title="CSC Events Feed" href="http://csclub.uwaterloo.ca/events.xml" type="application/rss+xml" />
+      <link rel="alternate" title="CSC News Feed" href="http://csclub.uwaterloo.ca/news.atom" type="application/rss+xml" />
       <title><xsl:value-of select="@title" /></title>
       <link rel="stylesheet" href="{$pre}default.css" type="text/css" />
     </head>