I’ve finally got round to building an RSS feed of delays on the London Underground.
London Tube Delays ? RSS 2.0- Source (PHP)
The data is coming straight off the official TfL website, so hopefully there should be as little latency as possible. I was going to parse either the BBC page or the TfL PDA/Wap site (which is powered by a 3rd party, Kizoom), but this would have introduced an unnecessary middleman and further delay the timeliness of the data.
This feed only deals with “current” delays, as defined by TfL. Long-term problems, scheduled engineering works and announcements of reduced facailities at stations are not included.
I?ve set the title element to hold just the name of the tube line disrupted and the description element to hold the delay information. All RSS items link to the official TfL site directly for confirmation of the delay.
Using the feed
I think it works great in a newsreader. If you are going to add it to yous, I suggest setting it to flush the channel every time so that you only see the current delays. (For the sake of my server, please don’t poll the feed more than once or twice an hour!)
Firefox users can add the feed as a handy live bookmark?
The easiest way of doing this is following the instructions from the Firefox Documentation, or from Firefox detecting the feed in the <head> of the Lab page.
Please let me know if you use this feed in an application or website (I think a desktop alert app similar to the BBC News one, and a Mobile/PDA site (that’s better than the TfL one) would be a great start).