GeoNames NearbyWikipedia API

There's an extra section at the bottom of my bus stops prototype that shows places near to the requested location, with links to their Wikipedia pages. I'd found this very useful in Locly, and it turns out it's easy to do — given a latitude and longitude — using GeoNames' findNearbyWikipediaJSON web service:
Read the rest of this entry...

AideRSS PostRank API

AideRSS has a PostRank feature, which assigns importance to blog posts based on various metrics. There's a widget that you can embed on your blog to show the highest ranked posts from the last year, month, week, etc which uses the PostRank API.

I don't particularly like embedding third-party Javascript unless absolutely necessary, so here's a jQuery version of the widget that runs locally. The only thing you'll need to edit is the 'feedid' parameter, but you can edit the 'appkey', 'period' and 'num' parameters as well.

Read the rest of this entry...

UK Postcode -> Bus Stop prototype

:

Uses NaPTAN data, MySQL spatial extensions and Google Maps API.

See also Parasec's very similar tool, Yell.com's bus stop and route information, and of course Google's own bus stop markers on Google Maps.

400,000 bus stops

After downloading the NaPTAN files mentioned earlier (choose "One-off Download of NaPTAN Reference Data", "All Areas", "XML ZIP", "Version 2"), here's some PHP code for parsing it:

Read the rest of this entry...

Full-text feeds as a route around censorship

Another good reason to put full-text content in web feeds:

While individual blogs might be blocked by censorious firewalls, aggregator/readers like Google Reader generally aren't. For many people, the proxied feed is the only way to read your content.