This commit is contained in:
Holden Karau 2006-06-22 01:53:00 +00:00
parent 1442fbc71d
commit 94d068ed72
3 changed files with 47 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
<xsl:stylesheet version="1.1"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:csc="http://www.csclub.uwaterloo.ca/cow"
extension-element-prefixes="csc">
@ -57,7 +57,35 @@
</xsl:template>
<xsl:template match="mediaitem">
<li><xsl:value-of select="@title" /> - <xsl:apply-templates select="mediafile" /></li>
<xsl:document method="html"
href="{translate(concat($root, '/media/', @title , '.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><xsl:value-of select="@title"/></title>
<style type="text/css">
<![CDATA[<!-- @import url('/default.css'); -->]]>
</style>
</head>
<body bgcolor="#ffffff">
<xsl:call-template name="header">
<xsl:with-param name="title" select="@title"/>
</xsl:call-template>
<h2>Abstract</h2>
<p>
<xsl:apply-templates select="abstract"/>
</p>
<p>
Download <xsl:value-of select="@title"/> in a number of formats:
<xsl:apply-templates select="mediafile" />
</p>
<xsl:call-template name="footer"/>
</body>
</html>
</xsl:document>
<li><a href= "{@title}"><xsl:value-of select="@title" /></a> - <xsl:apply-templates select="mediafile" /></li>
</xsl:template>
<xsl:template match="menuitem">

View File

@ -2,3 +2,9 @@ INPUTS = index.xml
SUBDIRS =
include ../default.mk
all:
perl fixme.pl

View File

@ -14,12 +14,23 @@
<mediafile file="ericlaforest.mpg" size="767M" type="MPG" />
</mediaitem> -->
<mediaitem title="Larry Smith: Creating Killer Applications">
<abstract>
A discussion of how software creators can identify application opportunities that offer the promise of great social and commercial significance.
Particular attention will be paid to the challenge of acquiring cross domain knowledge and setting up effective collaboration.
</abstract>
<mediafile file="larry-smith-divx-low.avi" size="920M" type="DiVX" />
<mediafile file="larry-smith-wmv.wmv" size="312M" type="Windows Media" />
<mediafile file="larry-smith-mov.mov" size="1.4G" type="Quick Time" />
</mediaitem>
<li>Larry Smith: Computing's Next Great Empires <a href="/audio/Larry%20Smith%20Talk.ogg">ogg</a><a href="/audio/Larry%20Smith%20Talk.mp3">mp3</a></li>
<mediaitem title="Rico Mariani: Eighteen Years in the Software Tools Business">
<abstract>
Rico Mariani, (BMath CS/EEE 1988) now an (almost) 18 year Microsoft veteran but then a CSC president comes to talk to us about the
evolution of software tools for microcomputers. This talk promises to be a little bit about history and perspective (at least from the Microsoft side
of things) as well as the evolution of software engineers, different types of programmers and their needs, and what it's like to try to make the
software industry more effective at what it does, and sometimes succeed!
Particularly illuminating are his responses to advocates of free/open-source software.
</abstract>
<mediafile file="Rico-Mariani-exctd-divx-320-240.avi" size="689M" type="DivX" />
<mediafile file="Rico-Mariani-exctd-quicktime.mov" size="504M" type="Quick Time" />
<mediafile file="Rico-Mariani-exctd-realmedia.rmvb" size="264M" type="Real Media" />