Ruby script to automate my blog publishing