Now that I’ve got my ruby code that lets me query the photography on my main site in a nice and simple way running smoothly I’ve been toying with some more things that I can do with it. After doing the geoname hack the other day I realised that I now had everything I needed to generate a list of all of my albums broken down by the nearest centre of population. One very short ruby script later (the heart of which is a single line of code, albeit a rather long line of code) plus a little bit of php hacking (my main site was developed ages ago in php—I’ll probably move to rails one day) and I had what I wanted.
So, here we go: all my albums broken down by nearest centre of population.
The layout could do with some improvement and I’ll probably get around to that some time soon but, for a quick hack, it works well and is actually quite handy (at least for my own purposes).
Add your comment
You need to login or signup to add your comment to this work.