Make atom links relative
authorDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 26 Sep 2007 08:49:01 +0000 (04:49 -0400)
committerDavid Bartley <dtbartle@csclub.uwaterloo.ca>
Wed, 26 Sep 2007 08:49:01 +0000 (04:49 -0400)
xsl/common.xsl

index 58a6c69..90ce4a2 100644 (file)
   <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" />
+      <link rel="alternate" title="CSC Events Feed" href="{$pre}events.atom"
+          type="application/rss+xml" />
+      <link rel="alternate" title="CSC News Feed" href="{$pre}news.atom"
+          type="application/rss+xml" />
       <title><xsl:value-of select="@title" /></title>
       <link rel="stylesheet" href="{$pre}default.css" type="text/css" />
     </head>