Town And Street Name Nerdery

The Street With No NameUnless you happen to live in Shitterton, or Twatt, the chances are that you enjoy seeing funny place names.

I wondered if there was an easy way of doing an online search for town and street names, so I could find funny ones. The popular mapping sites are great if you want to search for a specific name, but I was looking for somewhere you could do more general substring searches, or ideally regex searches.

I didn’t really find what I was looking for, so I decided to make my own instead.

So I got hold of street and place name data from the Ordnance Survey, but first I thought I’d do a bit of titting about with it to see what interesting things fell out.
Read More …

Webpage Scraping Bookmarklet

Screenshot of online formI quite often have to add new films into the database of my website british-film-locations.com. As well as adding the film I have to add data about the director and actors in the film as well. This is quite time consuming, so I created a system to simplify the task.

Firstly, I go to the page for the film on the Internet Movie Database, then I click on a specially-written bookmarklet. This runs some Javascript code which takes the IMDb URL, strips out the ID number of the film, and sends it to a PHP script on my website.

Read More …