Remove .html from internal links

* This produces nicer looking links
* Apache auto-aliases blah to blah.html if blah.html exists
This commit is contained in:
David Bartley 2007-12-12 21:18:34 -05:00
parent a3e63286d9
commit df06aefb1f
24 changed files with 73 additions and 72 deletions

View File

@ -3,8 +3,8 @@
<!DOCTYPE directory SYSTEM "../csc.dtd">
<directory title="About">
<diritem title="Constitution" href="constitution.html" />
<diritem title="Positions" href="positions.html" />
<diritem title="Membership List" href="members.html" />
<diritem title="Donations" href="donations.html" />
<diritem title="Constitution" href="constitution" />
<diritem title="Positions" href="positions" />
<diritem title="Membership List" href="members" />
<diritem title="Donations" href="donations" />
</directory>

View File

@ -7,9 +7,9 @@
<section title="What... is your name?">
<p>
According to our <a href="constitution.html">constitution</a> we
According to our <a href="constitution">constitution</a> we
are officially the &quot;Computer Science Club of the University
of Waterloo.&quot; You can contact <a href="exec.html">our
of Waterloo.&quot; You can contact <a href="exec">our
executive</a> by e-mail at <a
href="mailto:exec@csclub.uwaterloo.ca">exec@csclub.uwaterloo.ca</a>,
come by the <a href="../office/">office</a> in MC3036/3037 or mail
@ -26,7 +26,7 @@ N2L 3G1</pre>
<section title="What... is your quest?">
<p>
Again our lovely <a href="constitution.html">constitution</a> (it
Again our lovely <a href="constitution">constitution</a> (it
really <i>is</i> quite a read, see for yourself!) answers this
question. In short, we exist to promote knowledge of and interest
in computer science as well as allowing those interested in
@ -56,8 +56,8 @@ N2L 3G1</pre>
</section>
<section title="Who is your executive?">
<p>
Each term a new executive is elected by <a href="members.html">the
membership</a>. See the <a href="exec.html">Executive</a> page to find
Each term a new executive is elected by <a href="members">the
membership</a>. See the <a href="exec">Executive</a> page to find
out who this term's executive is.
</p>
</section>

View File

@ -14,10 +14,10 @@
<p>
Each term the CSC holds elections to determine the executive council. To
find out when and where the next elections will be held, check the
<a href="../index.html">homepage</a> and the
<a href="../">homepage</a> and the
<a href="http://csclub.uwaterloo.ca/newsgroup/thread.php?group=uw.csc">
uw.csc</a> newsgroup. For details on the election rules, see the
<a href="constitution.html">constitution</a>.
<a href="constitution">constitution</a>.
</p>
</section>
<footer />

View File

@ -11,5 +11,5 @@
<diritem title="Wiki" href="http://wiki.csclub.uwaterloo.ca/" />
<diritem title="Webmail" href="https://mail.csclub.uwaterloo.ca/" />
<diritem title="Gallery" href="/gallery2/" />
<diritem title="Stats" href="stats.html" />
<diritem title="Stats" href="stats" />
</directory>

View File

@ -3869,7 +3869,7 @@ Mathematics and restricted to the same.</i>
<p>
The proposed change is illustrated <a
href="http://www.csclub.uwaterloo.ca/about/constitution-change-20020920.html">on
href="http://www.csclub.uwaterloo.ca/about/constitution-change-20020920">on
a web page</a>.
</p>

View File

@ -3,5 +3,5 @@
<!DOCTYPE directory SYSTEM "../csc.dtd">
<directory title="Events">
<diritem title="Past terms' events" href="old.html" />
<diritem title="Past terms' events" href="old" />
</directory>

View File

@ -1,5 +1,5 @@
<menudefs>
<menuitem title="Home" icon="home" href="index.html"/>
<menuitem title="Home" icon="home" href=""/>
<menuitem title="About" icon="about" href="about/"/>
<menuitem title="Services" icon="services" href="services/"/>
<menuitem title="Office" icon="office" href="office/"/>

View File

@ -16,13 +16,13 @@
Our talks our now mirrored on mirror.cs for ResNet and on-campus users.
</newsitem>
<newsitem author="mspang" date="2007-05-11">
The <a href="/about/exec.html">executive</a> has been elected for the Spring 2007 term.
The <a href="/about/exec">executive</a> has been elected for the Spring 2007 term.
</newsitem>
<newsitem author="daltenty" date="2007-01-12">
The <a href="/about/exec.html">executive</a> has been elected for the Winter 2007 term.
The <a href="/about/exec">executive</a> has been elected for the Winter 2007 term.
</newsitem>
<newsitem author="woconnor" date="2006-09-21">
The <a href="/about/exec.html">executive</a> has been elected for the Fall 2006 term.
The <a href="/about/exec">executive</a> has been elected for the Fall 2006 term.
</newsitem>
<newsitem author="hkarau" date="2006-06-04">
The BeBox lives again. BeOS is a unique operating system from the same era as Windows 95. If you'd like to see it run, port something to it (we
@ -33,12 +33,12 @@ have the developement tools!), or just watch the funny lights on the front of it
new <a href ="/media/"> section </a>(in video :-)).
</newsitem>
<newsitem author="hkarau" date="2006-05-10">
The CSC <a href="/about/exec.html">executive</a> for Summer 2006 term
The CSC <a href="/about/exec">executive</a> for Summer 2006 term
has been elected.
</newsitem>
<newsitem author="ddenisen" date="2006-01-10">
The CSC <a href="/about/exec.html">executive</a> for Winter 2006 term
The CSC <a href="/about/exec">executive</a> for Winter 2006 term
has been elected.
</newsitem>
<newsitem author="jeperry" date="2004-10-23">
@ -47,7 +47,7 @@ have the developement tools!), or just watch the funny lights on the front of it
</newsitem>
<newsitem author="jeperry" date="2004-09-27">
The Fall 2004 elections have occured. We have a new
<a href="/about/exec.html">executive</a>.
<a href="/about/exec">executive</a>.
</newsitem>
<newsitem author="mbiggs" date="2004-09-15">
<a href="/files/buss-talk.mp3">Here</a> is the audio for Professor Buss'
@ -61,7 +61,7 @@ have the developement tools!), or just watch the funny lights on the front of it
</newsitem>
<newsitem author="mbiggs" date="2004-05-12">
The CSC elections took place and we have a new <a
href="/about/exec.html">executive</a> for Spring 2004.
href="/about/exec">executive</a> for Spring 2004.
</newsitem>
<newsitem author="sfllaw" date="2004-04-19">
<tt>perpugilliam</tt> has been restored, with two new disks courtesy of
@ -107,7 +107,7 @@ have the developement tools!), or just watch the funny lights on the front of it
</newsitem>
<newsitem author="sfllaw" date="2004-02-05">
We voted 15 to 0 to 0 in favour of changing the
<a href="/about/constitution.html">constitution</a> to follow MathSoc
<a href="/about/constitution">constitution</a> to follow MathSoc
policy. An updated copy of the document is now online.
</newsitem>
<newsitem author="sfllaw" date="2004-02-02">
@ -121,11 +121,11 @@ have the developement tools!), or just watch the funny lights on the front of it
</newsitem>
<newsitem author="sfllaw" date="2004-01-22">
The CSC elections took place and we have a new <a
href="/about/exec.html">executive</a> for Winter 2004.
href="/about/exec">executive</a> for Winter 2004.
</newsitem>
<newsitem author="sfllaw" date="2003-09-17">
The CSC elections took place and we have a new <a
href="/about/exec.html">executive</a> for Fall 2003.
href="/about/exec">executive</a> for Fall 2003.
</newsitem>
<newsitem author="ja2morri" date="2003-08-12">
<tt>carbonated-water</tt>, <tt>h2o</tt>, is back up. It's a great machine
@ -146,8 +146,8 @@ have the developement tools!), or just watch the funny lights on the front of it
<newsitem author="ja2morri" date="2003-07-09">
Jim Elliott gave a great talk for the CSC yesterday and has put his slides
online. <br />
<a href="http://www.vm.ibm.com/devpages/jelliott/events.html">
http://www.vm.ibm.com/devpages/jelliott/events.html</a>
<a href="http://www.vm.ibm.com/devpages/jelliott/events">
http://www.vm.ibm.com/devpages/jelliott/events</a>
</newsitem>
<newsitem author="sfllaw" date="2003-07-03">
We have been notified by the Guelph Computer Club that they are unable
@ -160,11 +160,11 @@ have the developement tools!), or just watch the funny lights on the front of it
</newsitem>
<newsitem author="sjdutoit" date="2003-05-14">
The CSC elections took place and we have a new <a
href="/about/exec.html">executive</a> for Spring 2003.
href="/about/exec">executive</a> for Spring 2003.
</newsitem>
<newsitem author="sfllaw" date="2003-01-13">
The CSC elections took place and we have a new <a
href="/about/exec.html">executive</a> for Winter 2003.
href="/about/exec">executive</a> for Winter 2003.
</newsitem>
<newsitem author="sjdutoit" date="2002-10-29">
Due to lack of time for preparation, the Romp Through The Linux Kernel talks were cancelled.
@ -172,13 +172,13 @@ have the developement tools!), or just watch the funny lights on the front of it
</newsitem>
<newsitem author="sjdutoit" date="2002-09-30">
The business meeting of 2002-09-30 was concluded and the <a
href="/about/constitution-change-20020920.html">constitutional
href="/about/constitution-change-20020920">constitutional
change</a> was approved with a 14:2 majority (and one spoiled
ballot). See the new <a href="/about/constitution.html">constitution</a>.
ballot). See the new <a href="/about/constitution">constitution</a>.
</newsitem>
<newsitem author="sjdutoit" date="2002-09-16">
The Fall elections have occured and the <a
href="/about/exec.html">results</a> are in.
href="/about/exec">results</a> are in.
</newsitem>
<newsitem author="sjdutoit" date="2002-09-18">
We've changed to the new site! Please send your comments to the <a
@ -195,13 +195,13 @@ have the developement tools!), or just watch the funny lights on the front of it
ISBN numbers onto disc.
</newsitem>
<newsitem author="sjdutoit" date="2002-04-15">
Added a bunch of <a href="/events/old.html">old events</a> and some
Added a bunch of <a href="/events/old">old events</a> and some
documents, including the <a
href="/about/constitution.html">constitution</a>.
href="/about/constitution">constitution</a>.
</newsitem>
<newsitem author="sjdutoit" date="2002-04-15">
Added the <a href="/about/members.html">membership list</a>. <a
href="/events/old.html">Old events</a> are working. Event terms, as
Added the <a href="/about/members">membership list</a>. <a
href="/events/old">Old events</a> are working. Event terms, as
well as the current term are determined automagically now. Lots of
work done. Some more stubs up (office etc.). And I introduce cow -
that is, the CSC Ontological Webalizer - which is just a wrapper

View File

@ -3,5 +3,5 @@
<!DOCTYPE directory SYSTEM "../csc.dtd">
<directory title="Office">
<diritem title="Webcam" href="webcam.html" />
<diritem title="Webcam" href="webcam" />
</directory>

View File

@ -10,7 +10,7 @@
Computer Building of the University of Waterloo. The office is open
whenever office staff are around to keep it
open, which basically means it is open most of the time. You can
check by taking a look through our <a href="webcam.html">web-enabled
check by taking a look through our <a href="webcam">web-enabled
camera</a>. At the
office we have <a
href="http://library.csclub.uwaterloo.ca">lots of books</a>,

View File

@ -9,12 +9,12 @@
<p>Spy on the office, see whether it's open or who is passing by the door!</p>
<div class="webcam"><p>
<a href="webcam.html"><img src="http://phosphoric-acid.csclub.uwaterloo.ca:8080/" width="640" height="480" alt="Phosphoric-acid's Webcam"/></a>
<a href="webcam"><img src="http://phosphoric-acid.csclub.uwaterloo.ca:8080/" width="640" height="480" alt="Phosphoric-acid's Webcam"/></a>
</p><p>
<a href="webcam.html"><img src="http://caramel-colour.csclub.uwaterloo.ca:8080/" width="640" height="480" alt="Caramel-colour's Webcam"/></a>
<a href="webcam"><img src="http://caramel-colour.csclub.uwaterloo.ca:8080/" width="640" height="480" alt="Caramel-colour's Webcam"/></a>
</p></div>
<p>Tired of streaming? Try the <a href="webcam.html">regular version</a>. You
<p>Tired of streaming? Try the <a href="webcam">regular version</a>. You
can also click on the webcam images above to switch to the regular version.</p>
<div style="color:black;padding:0 20px;margin:10px 0; border-left:5px dotted red;">

View File

@ -9,12 +9,12 @@
<p>Spy on the office, see whether it's open or who is passing by the door!</p>
<div class="webcam"><p>
<a href="webcam-streaming.html"><img src="http://phosphoric-acid.csclub.uwaterloo.ca:8080/singleframe" width="640" height="480" alt="Phosphoric-acid's Webcam"/></a>
<a href="webcam-streaming"><img src="http://phosphoric-acid.csclub.uwaterloo.ca:8080/singleframe" width="640" height="480" alt="Phosphoric-acid's Webcam"/></a>
</p><p>
<a href="webcam-streaming.html"><img src="http://caramel-colour.csclub.uwaterloo.ca:8080/singleframe" width="640" height="480" alt="Caramel-colour's Webcam"/></a>
<a href="webcam-streaming"><img src="http://caramel-colour.csclub.uwaterloo.ca:8080/singleframe" width="640" height="480" alt="Caramel-colour's Webcam"/></a>
</p></div>
<p>Try the <a href="webcam-streaming.html">streaming version</a> for
<p>Try the <a href="webcam-streaming">streaming version</a> for
streamy goodness. You can also click on the webcam images above to switch to
the streaming version.</p>

View File

@ -3,8 +3,8 @@
<!DOCTYPE directory SYSTEM "../csc.dtd">
<directory title="Services">
<diritem title="Usage Agreement" href="machine_usage.html" />
<diritem title="Usage Agreement Summary" href="machine_usage_summary.html" />
<diritem title="Usage Agreement" href="machine_usage" />
<diritem title="Usage Agreement Summary" href="machine_usage_summary" />
<diritem title="Webmail" href="https://mail.csclub.uwaterloo.ca/" />
<diritem title="Library" href="http://library.csclub.uwaterloo.ca/" />
</directory>

View File

@ -77,7 +77,7 @@
</li>
</ul><p>
You can view a list of clubs that we have hosted or still host on our
<a href="clubs.html">clubs list</a>.
<a href="clubs">clubs list</a>.
</p>
</section>

View File

@ -16,7 +16,7 @@ not, in general, guarantee any ``rights'' to users.
Policies for group accounts and administrative accounts are not yet
available (this section will contain links to them when they do become
available). There is also a brief (instead of legalese)
<a href="machine_usage_summary.html">summary of the usage policy</a> available.
<a href="machine_usage_summary">summary of the usage policy</a> available.
</p>
</section>
@ -40,7 +40,7 @@ CSC machine, unless otherwise specified.
<p>
The CSC machines are intended for research, personal projects,
and general use in accordance with the aims of the CSC (see the
<a href="../about/constitution.html">CSC Constitution</a> for further details).
<a href="../about/constitution">CSC Constitution</a> for further details).
Projects that are of interest to the CSC may be given special priority
by the CSC Systems Committee.
</p>
@ -117,7 +117,7 @@ explanation is given. Cause for removal of access to an account
includes, but is not limited to, violation of the machine usage policy.
In the event of a dispute, a user whose account has been revoked
may appeal to the CSC Executive for its reinstatement, as per the
<a href="../about/constitution.html">CSC Constitution</a>.
<a href="../about/constitution">CSC Constitution</a>.
</p>
<p>
@ -210,7 +210,7 @@ Computer, terminal or other piece of hardware. Non-CSC machines
An appointed body responsible for the operation of the CSC network
and the software that runs on it.
A complete description is available in the
<a href="../about/constitution.html">CSC Constitution</a>.
<a href="../about/constitution">CSC Constitution</a>.
</dd>
<dt>Network Bandwidth</dt>

View File

@ -16,7 +16,7 @@ not, in general, guarantee any ``rights'' to users.
Policies for group accounts and administrative accounts are not yet
available (this section will contain links to them when they do become
available). There is also a brief (instead of legalese)
<a href="machine_usage_summary.html">summary of the usage policy</a> available.
<a href="machine_usage_summary">summary of the usage policy</a> available.
</p>
<p>
The usage policy signature form is available as an <a
@ -44,7 +44,7 @@ CSC machine, unless otherwise specified.
<p>
The CSC machines are intended for research, personal projects,
and general use in accordance with the aims of the CSC (see the
<a href="../about/constitution.html">CSC Constitution</a> for further details).
<a href="../about/constitution">CSC Constitution</a> for further details).
Projects that are of interest to the CSC may be given special priority
by the CSC Systems Committee.
</p>
@ -121,7 +121,7 @@ explanation is given. Cause for removal of access to an account
includes, but is not limited to, violation of the machine usage policy.
In the event of a dispute, a user whose account has been revoked
may appeal to the CSC Executive for its reinstatement, as per the
<a href="../about/constitution.html">CSC Constitution</a>.
<a href="../about/constitution">CSC Constitution</a>.
</p>
<p>
@ -214,7 +214,7 @@ Computer, terminal or other piece of hardware. Non-CSC machines
An appointed body responsible for the operation of the CSC network
and the software that runs on it.
A complete description is available in the
<a href="../about/constitution.html">CSC Constitution</a>.
<a href="../about/constitution">CSC Constitution</a>.
</dd>
<dt>Network Bandwidth</dt>

View File

@ -9,7 +9,7 @@
Policies for group accounts and administrative accounts are not yet
available (this section will contain links to them when they do become
available). This is a brief (instead of legalese) version of the
<a href="machine_usage.html">usage policy</a>.
<a href="machine_usage">usage policy</a>.
Everyone who receives an account on one of the CSC machines must sign
the agreement based on the usage policy, and this summary lists the
things that the users will agree to.

View File

@ -53,11 +53,11 @@
<entry>
<title><xsl:value-of select="@title"/></title>
<!-- we do a hack here with the translate to get whitespace replacement -->
<link href="{concat('http://csclub.uwaterloo.ca/events/',translate(@room,' ','_'),'-',translate(@date,' ','_'),'-',translate(@time,' ','_'),'.html')}"/>
<link href="{concat('http://csclub.uwaterloo.ca/events/',translate(@room,' ','_'),'-',translate(@date,' ','_'),'-',translate(@time,' ','_'))}"/>
<author><name><xsl:value-of select="short"/></name></author>
<summary><xsl:value-of select="abstract"/></summary>
<updated><xsl:value-of select="translate($g_datetime,' ','T')"/></updated>
<id><xsl:value-of select="concat('http://csclub.uwaterloo.ca/events/',translate(@room,' ','_'),'-',translate(@date,' ','_'),'-',translate(@time,' ','_'),'.html')"/></id>
<id><xsl:value-of select="concat('http://csclub.uwaterloo.ca/events/',translate(@room,' ','_'),'-',translate(@date,' ','_'),'-',translate(@time,' ','_'))"/></id>
</entry>
</xsl:for-each>
</feed>

View File

@ -47,7 +47,7 @@
alt="A Student Chapter of the ACM" width="82" height="88" /></a>
</div>
<div class="csclogo">
<a href="{$g_pre}index.html"><img src="{$g_pre}logos/csc_logo.gif"
<a href="{$g_pre}"><img src="{$g_pre}logos/csc_logo.gif"
alt="Computer Science Club" width="420" height="79" /></a>
</div>
</div>

View File

@ -11,7 +11,7 @@
<xsl:variable name="href">
<xsl:choose>
<xsl:when test="@href != ''"><xsl:value-of select="@href"/></xsl:when>
<xsl:otherwise>index.html</xsl:otherwise>
<xsl:otherwise />
</xsl:choose>
</xsl:variable>
<xsl:if test="@title">

View File

@ -18,7 +18,7 @@
<tr>
<td class="eventdate"><xsl:value-of select="@date" /></td>
<td rowspan="2" valign="top" class="eventitem">
<a href="{translate(concat('/events/', @room, '-', @date, '-', @time, '.html'), ' ', '_')}">
<a href="{translate(concat('/events/', @room, '-', @date, '-', @time), ' ', '_')}">
<xsl:value-of select="@title" />
</a>.
<xsl:value-of select="short" />
@ -53,7 +53,7 @@
<xsl:sort select="translate(@date, '-', '')"
order="ascending" data-type="number" />
<xsl:if test="csc:term(@date) = csc:term($date)">
<h3><a href="{translate(concat($g_pre, 'events/', @room, '-', @date, '-', @time, '.html'), ' ', '_')}"><xsl:value-of select="@title" /></a></h3>
<h3><a href="{translate(concat($g_pre, 'events/', @room, '-', @date, '-', @time), ' ', '_')}"><xsl:value-of select="@title" /></a></h3>
<p>
<strong>
<xsl:value-of select="@room" />,
@ -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, '.html'), ' ', '_')}">
href="{translate(concat($g_outdir, @room, '-', @date, '-', @time), ' ', '_')}">
<html>
<head>
<title><xsl:value-of select="@title" /></title>
@ -108,13 +108,13 @@
<xsl:sort select="translate(@date, '-', '')"
order="descending" data-type="number" />
<xsl:if test="not(preceding-sibling::*[csc:term(@date)=csc:term(current()/@date)]) and not(csc:term(@date) = csc:term($g_date))">
<p><a href="{translate(concat('old-',csc:term(@date), '.html'), ' ', '_')}">
<p><a href="{translate(concat('old-',csc:term(@date)), ' ', '_')}">
<xsl:value-of select="csc:term(@date)" />
</a></p>
<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), '.html'), ' ', '_')}">
href="{translate(concat($g_outdir, 'old-', csc:term(@date)), ' ', '_')}">
<html>
<head>
<title>Events for <xsl:value-of select="csc:term(@date)" /></title>

View File

@ -8,7 +8,7 @@
<xsl:output method="xml" />
<xsl:template name="donate-now">
<p>Please consider <a href="{$g_pre}about/donations.html">donating to the
<p>Please consider <a href="{$g_pre}about/donations">donating to the
Computer Science Club</a> to help offset the costs of bringing you our
talks.</p>
</xsl:template>

View File

@ -23,6 +23,7 @@
var s1 = new SWFObject("../flash/flvplayer.swf","single","400","300","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","<xsl:value-of select="$mirror" /><xsl:value-of select="@file" />");
s1.addVariable("autostart","true");
<xsl:if test="@preview">
s1.addVariable("image","http://csclub.uwaterloo.ca/files/<xsl:value-of select="@preview" />");
</xsl:if>
@ -46,7 +47,7 @@
</xsl:with-param>
<xsl:with-param name="mirror" select="$g_mirror_cs" />
</xsl:call-template>
<li><a href= "{@title}.html"><xsl:value-of select="@title" /></a></li>
<li><a href= "{@title}"><xsl:value-of select="@title" /></a></li>
</xsl:template>
<xsl:template name="makemediaitem">
@ -55,11 +56,11 @@
<xsl:param name="mirror" />
<xsl:param name="bittorrent" />
<xsl:param name="ads" />
<xsl:variable name="realurl" select="concat('http://csclub.uwaterloo.ca/media/', csc:encode-for-uri(@title), '.html')" />
<xsl:variable name="realurl" select="concat('http://csclub.uwaterloo.ca/media/', csc:encode-for-uri(@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="{concat($g_outdir, @title, $suffix, '.html')}">
href="{concat($g_outdir, @title, $suffix)}">
<html>
<head>
<title><xsl:value-of select="@title" /></title>
@ -68,7 +69,7 @@
<body><div class="content">
<xsl:call-template name="header">
<xsl:with-param name="title" select="@title" />
<xsl:with-param name="href" select="concat(@title, $suffix, '.html')" />
<xsl:with-param name="href" select="concat(@title, $suffix)" />
</xsl:call-template>
<xsl:call-template name="donate-now" />
<xsl:if test="$ads">

View File

@ -63,13 +63,13 @@
<xsl:sort select="translate(@date, '-', '')"
order="descending" data-type="number" />
<xsl:if test="not(preceding-sibling::*[csc:term(@date)=csc:term(current()/@date)]) and not(csc:term(@date) = csc:term($g_date))">
<p><a href="{translate(concat('old-', csc:term(@date), '.html'), ' ', '_')}">
<p><a href="{translate(concat('old-', csc:term(@date)), ' ', '_')}">
<xsl:value-of select="csc:term(@date)" />
</a></p>
<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), '.html'), ' ', '_')}">
href="{translate(concat($g_outdir, 'old-', csc:term(@date)), ' ', '_')}">
<html>
<head>
<title>News for <xsl:value-of select="csc:term(@date)" /></title>