Sunday, January 07, 2007

Dusting Off My Ruby Skills

I just finished writing my first non-trivial Ruby script.

It searches a website (more than a page) for pictures that match given search criteria and downloads the pictures along with meta data.

It's only 61 lines long, and there are a bunch of comments and blank lines. It's not complete yet, but the final version should be less than 100 lines long.

Our Railpad server was up for 288 days before I shut it down yesterday. I haven't coded any significant Ruby code since I worked on Railpad, so this picture grabbing script was a much-needed refresher.