ljrb -- LiveJournal Ruby module

(last updated: 2007-01-06.)
also on neugierig.org:

This is a Ruby module for interfacing with LiveJournal. It's quite thorough — I'm an ex-developer of LiveJournal, so I know the quirks of LiveJournal well, and I've done my best to present a simple and sensible interface.

What might you use it for? The obvious one is writing scripts to post to LJ. But I use it for all sorts of random hacks. For example, I used it to retag a bunch of my old posts: it's a short script to display the post and tags and let you enter new ones, and then with this module it's a few more lines to apply the changes server-side. Here are some other things I've done with this module:

See the documentation for details.

News

Latest release is 0.3.1, released 06 January 2007. This release won't die when the "useragent" property is present in an entry. I've also added support for passing :strict => false to the GetEvents constructor so we won't stop working every time LJ adds new metadata. (Note, however, that using :strict => false may mean that your entries may not perfectly round-trip from the server and back.)

For news announcements, see the ljrb tag on my LiveJournal.

This code is managed with darcs. Fetch it with

darcs get http://neugierig.org/software/darcs/ljrb
or browse the source.

Recent patches:

Download

Ways to get it:

Evan Martin, martine@danga.com