Personalised BBC Travel XML Feeds
May 14, 2008
OK, so I’ve updated my little experiment so that you can now request personalised travel XML data, which is taken and filtered from the original huge BBC travel XML feed.
The root URL for the feed is:
http://feeds.boxuk.com/bbctravel/xmlfeed/
You can use the following parameters to personalise the data:
- road (either a road number or name)
- place (this one’s a bit odd at the moment due to the original data, some cities work, some counties work)
- severity (either very severe, severe, medium or slight)
Multiple values can be separated with commas, and the parameters can be specified in any order. Example feeds are:
- http://feeds.boxuk.com/bbctravel/xmlfeed/road/A4
- http://feeds.boxuk.com/bbctravel/xmlfeed/place/bristol,newport
- http://feeds.boxuk.com/bbctravel/xmlfeed/road/m4/place/cardiff/severity/slight
I’m hoping to add in some longitude/latitude parameters soon, so that you can request a feed for just a particular geographic area.
If you have any ideas or comments, please add them to this post!
*** Dan
PS This is just a hack for the time being, with little in the way of caching or robustness… Please do not rely on these feeds!
UPDATE: Just added a little dynamic ’summary’ page too from the live/historic data too, which I’ll try to add some more graphs to…
Entry Filed under: Uncategorized. Tags: BBC, feeds, personalised, travel, xml.
Trackback this post | Subscribe to the comments via RSS Feed