Old events work!!! yay! Added some old events

news-update
Stefanus Du Toit 21 years ago
parent 5b5504439f
commit 37914deed1
  1. 50
      cscweb.xsl
  2. 70
      events.xml
  3. 2
      events/Makefile
  4. 1
      events/directory.xml

@ -208,7 +208,7 @@
</table>
</xsl:template>
<xsl:template match="events-this-term">
<xsl:template match="events-this-term" name="events-by-term">
<p>The events for <xsl:value-of select="csc:term($date)"/> are listed here.</p>
<xsl:for-each select="document('events.xml')/eventdefs/eventitem">
<xsl:sort select="translate(@date, '-', '')"
@ -251,15 +251,49 @@
<xsl:apply-templates select="document('events.xml')/eventdefs"/>
</xsl:template>
<xsl:template match="old-events">
<xsl:for-each select="document('events.xml')/eventdefs/eventitem">
<xsl:sort select="term"
order="descending"
data-type="number"/>
<xsl:key name="eventterm"
match="/eventdefs/eventitem"
use="csc:term(@date)" />
</xsl:for-each>
</xsl:template>
<xsl:template match="old-events">
<xsl:for-each
select="document('events.xml')/eventdefs/eventitem">
<xsl:sort select="translate(@date, '-', '')"
order="ascending"
data-type="number"/>
<xsl:if
test="not(preceding-sibling::*[csc:term(@date)=csc:term(current()/@date)]) and not(csc:term(@date) = csc:term($date))">
<p><a href="{translate(concat('old-',
csc:term(@date), '.html'), ' ', '_')}">
<xsl:value-of
select="csc:term(@date)"/></a></p>
<xsl:document method="html" href="{translate(concat($root, '/events/old-', csc:term(@date), '.html'), ' ', '_')}">
<xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">]]>
</xsl:text>
<html>
<head>
<title>Events for <xsl:value-of select="csc:term(@date)"/></title>
<style type="text/css">
<![CDATA[<!-- @import url('/default.css'); -->]]>
</style>
</head>
<body>
<xsl:call-template name="header">
<xsl:with-param name="title" select="concat('Events for ', csc:term(@date))"/>
</xsl:call-template>
<xsl:call-template name="events-by-term">
<xsl:with-param name="date" select="@date"/>
</xsl:call-template>
<xsl:call-template name="footer"/>
</body>
</html>
</xsl:document>
</xsl:if>
</xsl:for-each>
</xsl:template>
<xsl:template match="execlist">
<h3>Elected positions</h3>
<ul>

@ -133,4 +133,74 @@ href="ja2morri@uwaterloo.ca">James Morrison</a>.</p>
</p>
</abstract>
</eventitem>
<eventitem date="2001-01-15" time="4:30 PM" room="MC3036"
title="Executive elections">
<short>Winter 2001 CSC Elections.</short>
<abstract>
<p>Would you like to get involved in the CSC? Would you like to
have a say in what the CSC does this term? Come out to the CSC
Elections! In addition to electing the executive for the
Winter term, we will be appointing office staff and other
positions. Look for details in uw.csc.
</p>
<p>
Nominations for all positions are being taken in the CSC
office, MC 3036.
</p>
</abstract>
</eventitem>
<eventitem date="2001-01-22" time="3:30 PM" room="MC3036"
title="Meeting #2">
<short>Second CSC meeting for Winter 2001.</short>
<abstract>
<h3>Proposed agenda</h3>
<dl>
<dt>Book purchases</dt>
<dd>
<p>They haven't been done in 2 terms.
We have an old list of books to buy.
Any suggestions from uw.csc are welcome.</p>
</dd>
<dt>CD Burner</dt>
<dd>
<p>For doing linux burns. It was allocated money on the budget
request - about $300. We should be able to get a decent 12x
burner with that (8x rewrite).</p>
<p>The obvious things to sell are Linux Distros and BSD variants.
Are there any other software that we can legally burn and sell
to students?</p>
</dd>
<dt>Unix talks</dt>
<dd>
<p>Just a talk of the topics to be covered, when, where, whatnot.
Mike was right on this one, this should have been done earlier
in the term. Oh well, maybe we can fix this for next fall term.</p>
</dd>
<dt>Game Contest</dt>
<dd>
<p>We already put a bit of work into planning the Othello contest
before I read Mike's post. I still think it's viable. I've got
at least 2 people interested in writing entries for it. This
will be talked about more on monday. Hopefully, Rory and I will
be able to present a basic outline of how the contest is going
to be run at that time.</p>
</dd>
<dt>Peri's closet cleaning</dt>
<dd>
<p>Current sysadmin (jmbeverl) and I (kvijayan) and
President (geduggan) had a nice conversation about this 2
days ago, having to do with completely erasing all of
peri, installing a clean stable potato debian on it, and
priming it for being a gradual replacement to calum. We'll
probably discuss how much we want to get done on this
front on Monday.</p>
</dd>
</dl>
<p>Any <a HREF="nntp://news.math.uwaterloo.ca/uw.csc/8305">comments</a> from <a HREF="news:uw.csc">the newsgroup</a> are welcome.</p>
</abstract>
</eventitem>
</eventdefs>

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

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

Loading…
Cancel
Save