Home
Search
Site map
What's new
Link to blog
Wiki
Bookmark
Web site RSS feed
Blog RSS Feed

Chicago Metra train schedules in XML and Blackberry format

I wrote a little Java program (probably should have used Python but didn't know I'd have some time on my hands) to convert the (mostly non-HTML) tables of Metra train schedules to XML so they could be used with AJAX, Yahoo! Pipes, and other Web 2.0 tools. Here are the XML files (and they will stay here as long as I stay in Chicago):

You can run the program I used to convert the files here using Java WebStart; this program can generate tab-separated spreadsheet files suitable for TimeTableME which comes preloaded with CalTrain weekend schedules. If you're using a Blackberry, here's a zip file of TimeTableME that includes the Northwest, Rock Island and Southwest line schedules (I just followed the author's instructions carefully - make sure you do an "ant clean" before each "ant RIM"). If you need other schedules and can build TimeTableME, here is a zip file with all the Metra train schedules in TimeTableME format.

The XML schema is simple and I hope obvious. I plan to look into RDF formats for trains schedules (that would provide a better future value for this work I think); if I find one I'll also provide files in that form.


Last Modified on

Send email to Bob at electricbob@alephnaught.com
Send email to Aviva at avivakramer@earthlink.net

Home
Search
Site map
What's new
Link to blog
Wiki
Bookmark
Web site RSS feed
Blog RSS Feed