ruby-blogger!!?

I could not find any ruby examples of how to interact with the GData API to blogger.com blogs, so I decided to roll my own...

It is very rudimentary stuff, but it seems to get the job done.

The code is available here: ruby-blogger

Example Usage: Updated 12/13/2006
post = GData::Post.new
post.title = "test title"
post.body = "test body"
post.author_name = "frank"
post.author_email = "frank@zappa.com"

### if you set the "site" option
### the client will try to autodiscover the service.post uri
GData::Client.logger.level = Logger::DEBUG
client = GData::Client.new(EMAIL,PASSWORD,{"site"=>BLOG_URI})

## or you can set the service.post uri directly ##
#client = GData::Client.new(EMAIL,PASSWORD,{"service.post"=>POST_URI})

client.save(post)

post.title = "new title"
post.content = "new body"
client.save(post)

## getting
post = client.get( post.self_link)

## deleting
client.delete(post)

ruby-3jam

I have put together a rudimentary ruby client for the 3jam api.

It implements the 3jam.friends.getList and 3jam.conversations.startNew methods.

The source code is available from my svn repo at

http://code.google.com/p/ruby-3jam/

Also, I have put together an example rails app that uses the api

http://odacrem.com/svn/personal/3jam/rails