TransXchange static browser generator
See the output - A generated TransXchange static browser (all TfL files input)
Download txcgenerator.zip - ruby script and other source files
To the extent possible under law,
Placr Ltd has waived all copyright and related or neighboring rights to TransXchange static browser generator. This work is published from the United Kingdom.
README contents:
=== TransXchange static browser generator from placr.co.uk ===
This tool is a ruby script to parse the timetable listings XML from TfL and generate a HTML interface for browsing the objects within. The homepage is at:
http://placr.co.uk/tools/tfl-timetables/txcgenerator/
Input XML of the expected format, can be downloaded from here:
http://data.london.gov.uk/datastore/package/tfl-timetable-listings
(The TfL open data release of 2nd Sep 2010)
--- Installing and LibXML ruby ---
To run the tool you will need ruby and LibXML gem.
On ubuntu/debian:
sudo apt-get install ruby
sudo apt-get install rubygems
sudo gem install libxml
--- Running ---
Run the script with a command such as
ruby txcgenerator.rb "path/to/input/files/tfl-timetable-listing/*.xml"
The parameter is a to an input TransXchange xml file. It can be wildard (e.g *.xml) matching several files, but enclose the path in '"'s for this to work
The tool will create an 'output' folder and copy style.css and placr-logo.png into it (unless these are already in place)
--- TransXchange ---
Input XML is in the TransXchange format. In theory this tool could be run on any data following the TransXchange schema, but there may be problematic assumptions based on data we see from TfL (some parts of the schema not used)
Refer to the placr blog for the latest updates to tools from placr: http://www.placr.co.uk/Pressword286/
--- License: CC0 ---
To the extent possible under law, Placr Ltd has waived all copyright and related or neighboring rights to TransXchange static browser generator. This work is published from United Kingdom.
We're serious about encouraging people to re-use and build upon our stuff. Sometimes "open licenses" for code and data can stifle the innovation they are intended to encourage. That's why when we decide to release open code/data, we like to go the whole hog. By releasing with CC zero license placr waives all rights to this code.
Note: This means we do not legally *require* you to give us credit in derivative works ...BUT we would consider it polite (link to us)
We also accept no liability. Use this tool freely, at your own risk.
--- Updates ---
We'll be aiming to make some improvements to this tool. Check back on the blog at placr.co.uk for updates.
If you have useful patches you're encouraged to send them back to us so that we can consider incorporating them
This tool is a ruby script to parse the timetable listings XML from TfL and generate a HTML interface for browsing the objects within. The homepage is at:
http://placr.co.uk/tools/tfl-timetables/txcgenerator/
Input XML of the expected format, can be downloaded from here:
http://data.london.gov.uk/datastore/package/tfl-timetable-listings
(The TfL open data release of 2nd Sep 2010)
--- Installing and LibXML ruby ---
To run the tool you will need ruby and LibXML gem.
On ubuntu/debian:
sudo apt-get install ruby
sudo apt-get install rubygems
sudo gem install libxml
--- Running ---
Run the script with a command such as
ruby txcgenerator.rb "path/to/input/files/tfl-timetable-listing/*.xml"
The parameter is a to an input TransXchange xml file. It can be wildard (e.g *.xml) matching several files, but enclose the path in '"'s for this to work
The tool will create an 'output' folder and copy style.css and placr-logo.png into it (unless these are already in place)
--- TransXchange ---
Input XML is in the TransXchange format. In theory this tool could be run on any data following the TransXchange schema, but there may be problematic assumptions based on data we see from TfL (some parts of the schema not used)
Refer to the placr blog for the latest updates to tools from placr: http://www.placr.co.uk/Pressword286/
--- License: CC0 ---
To the extent possible under law, Placr Ltd has waived all copyright and related or neighboring rights to TransXchange static browser generator. This work is published from United Kingdom.
We're serious about encouraging people to re-use and build upon our stuff. Sometimes "open licenses" for code and data can stifle the innovation they are intended to encourage. That's why when we decide to release open code/data, we like to go the whole hog. By releasing with CC zero license placr waives all rights to this code.
Note: This means we do not legally *require* you to give us credit in derivative works ...BUT we would consider it polite (link to us)
We also accept no liability. Use this tool freely, at your own risk.
--- Updates ---
We'll be aiming to make some improvements to this tool. Check back on the blog at placr.co.uk for updates.
If you have useful patches you're encouraged to send them back to us so that we can consider incorporating them