@northeastraces Follow me at http://twitter.com/northeastraces
This photo of the start of the 2004 Kirkby Malzeard 10K was taken by Eric Nutter

XML

Details (e.g., entry forms and results) of running races (e.g., 10K, 10M and half marathon), both road races and multi-terrain, near North East England: Northumberland, Tyne and Wear, County Durham, Yorkshire, Cumbria, ... Generated: Fri 22 Jun at 08:40:03 BST

Overview

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

XML

Whenever the data is changed, an XML document describing the races is generated from the database and then seven XSL Transformations are used to produce the six HTML pages and an RSS page (/next, /updates, /previous, /results, /pb, /pb2, /next.rss).

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 February 2011, the XML document was about 3.6MB.

iCalendar

The "future races" page displays an iCalendar Icon 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.

Some acknowledgements

The ICAL button used on these web pages (iCalendar Icon) was produced by mokolabs. It is released with a Creative Commons licence.
The RSS button used on these web pages (RSS Icon) was produced by luciano.santos. It is released with a Creative Commons licence.