Best Viewed With Any Browser

An XML document

 

The data for these races is stored in a MySQL database and various WWW forms fronting a Ruby on Rails application are used to maintain this database.

Every night and also on demand, two steps happen:

  1. the mysql program is used (with a -X option) to export all the data in the database to an XML document;
  2. six XSL Transformations are used to produce the five HTML pages and an RSS page (next.htm, newnext.htm, prev.htm, pb.htm, rest.htm, next.rdf) from the XML document.

Here is a link to the XML document containing details of all the races. Exactly what happens if you visit this link depends on the browser you are using. Modern browsers will attempt to display the XML. With older browsers, you may have to View the Page Source. Depending on your connection to the internet, it may take some time to download and for it to be displayed, as the document is large. In June 2008, the XML document was about 1.4MB, and it grows about 250KB a year.

The "future races" page displays an iCalendar button for each race. When this button is used, some iCalendar information will be produced. This is done by executing some XSLT code. The XSLT code was provided by Brian Suda under the W3C Open Source License. The XSLT code is described at http://suda.co.uk/projects/X2V/ and it is available from http://suda.co.uk/projects/X2V/xhtml2vcard.xsl.

The iCalendar information is produced using the mime type text/calendar. Exactly what happens at this point depends on how your browser has been configured. Either an application will be launched, or you will be asked whether you want to start an application, or you will be asked whether you want to save the iCalendar information to a file.