Artist blogs

Today appears to be the day where stuff gets done!

I just implemented a blog import tool for GO Magazine. Ruby and Rails just make it so easy. I generated two models: Blog and Post. Blog gets hooked up to an Artist, and Blog has_many :posts.

Blog is hooked up to a Link as well. Every day, I just traverse the Links, fetch the feed and parse it using Ruby’s built-in RSS Parser. Walk the items and insert them into the database, done!

I’m even surprised at the speed, tens of blogs are imported in a few seconds.