Agile Tortoise

Greg Pierce’s blog

Conversant-Ruby scripts

I don’t know if this will be of use to anyone, but I’ve packaged up a few Ruby scripts that I’ve written for managing the templates, stylesheets and javascript of a Conversant site in your local filesystem.

Download

Short story is, they download and upload these items using XML-RPC. The “download.rb” script creates a local mirror of all templates, stylesheets and javascripts (also useful for backup). The “upload.rb” script uploads any of the above that have been modified since the last download/upload. Un-zip the archive and see the read me for more details.

I’m using this on a Mac, and after downloading, open the folder in Textmate with a “mate .” and it makes it much easier to manage changes to my site. Should work on any platform with Ruby installed (works fine with the built-in Ruby in Tiger as well).