TFL widgets are recent news to me, although that means nothing, these could have been around for donkey years:<div><br></div><div><a href="http://www.tfl.gov.uk/widgets/">http://www.tfl.gov.uk/widgets/</a></div><div><br></div>
<div>Their existence is a sign that TFL are not shy to making their data more accessible, which is nice.</div><div><br></div><div>Eliot<br><br><div class="gmail_quote">On Wed, Dec 17, 2008 at 4:33 PM, Jay Caines-Gooby <span dir="ltr"><<a href="mailto:jay@gooby.org">jay@gooby.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Wed, Dec 17, 2008 at 3:26 PM, Tom Taylor <<a href="mailto:tom@tomtaylor.co.uk">tom@tomtaylor.co.uk</a>> wrote:<br>

> Hi all,<br>
><br>
> I started hacking away on a Ruby API for accessing TFL's services (starting<br>
> with Journey Planner). Now, TFL are a bit crap and don't actually *have* any<br>
> web APIs, so it's screen scraping through and through. That said, it looks<br>
> totally feasible to parse suggested Journey Planner routes and the like.<br>
><br>
> Anyway, it's really early days - only about 30 mins of code committed - but<br>
> if you find yourself bored over the Christmas period, do chip in.<br>
><br>
> My main reason for doing this is to show TFL what's possible when they open<br>
> up this data, and use it for political leverage to encourage them to do so.<br>
> When they do, we can swap out some of the interfaces. Yes, I am an optimist.<br>
><br>
> <a href="http://github.com/tomtaylor/tfl/tree/master" target="_blank">http://github.com/tomtaylor/tfl/tree/master</a><br>
<br>
Many moons ago, wearing an entirely different hat, I wrote the Sky<br>
Active Journey Planner for TfL.<br>
<br>
<a href="http://flickr.com/photos/jaygooby/4608933/" target="_blank">http://flickr.com/photos/jaygooby/4608933/</a><br>
<br>
There were no feeds to work from then either :P - instead I wrote a<br>
transcoding proxy that interrogated their wap service and munged the<br>
results of that for the TV service. Rather than scraping the website,<br>
you might be better working with their wml service, because then at<br>
least you're getting well-formed xml...<br>
<br>
Historically the lack of APIs is because the journey planning data<br>
comes from a variety of disparate 3rd parties (many or all of whom<br>
charge by query volume) so making APIs publicly available would<br>
increase the cost to TfL. Not sure if this is still the case now...<br>
<br>
<a href="http://wap.tfl.gov.uk/planner/" target="_blank">http://wap.tfl.gov.uk/planner/</a><br>
<br>
--<br>
Jay Caines-Gooby<br>
<a href="mailto:jay@gooby.org">jay@gooby.org</a><br>
+44 (0)7956 182625<br>
skype: jaygooby<br>
gtalk: <a href="mailto:jaygooby@gmail.com">jaygooby@gmail.com</a><br>
AIM: jaygooby<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>