Tomboy Blogposter is a Tomboy plugin to post notes to a blog from for instance Wordpress, Blogger or LiveJournal, or (hopefully) any other AtomPub enabled website.

Requirements

This plugin requires Tomboy 0.10 or later.

Download/Install in Ubuntu

In Ubuntu Jaunty or later, all you need to do to install is to install tomboy-blogposter from the official repositories.

If you're using an older version than that, or want to make sure you use the latest version, you should add Hanno Stock's PPA and then installing through the regular packaging tools.

Download/Install elsewhere

Download the binary or the source. There's also a git repository (git://github.com/ozamosi/tomboy-blogposter.git) you can pull from.

If you got the binary, you need to put the dll in your $HOME/.tomboy/addins directory, and then activate the plugin in the Tomboy preferences.

The source version uses autotools. To build it, move to the folder where you downloaded the code, and execute$ tar xzf tomboy-blogposter-0.4.4.tar.gz
$ cd tomboy-blogposter-0.4.4
$ ./configure
$ make
$ make local-install
This will install the plugin for your current user. If you only want to install the plugin globally instead (for all users), instead of executing make local-install, become root and run make install.

Comments, help, suggestions, cursing, etc

Send an email or Jabber message to ozamosi@flukkost.nu (both email and Jabber).

Finding the URL

When you add an account, it will ask you for your AtomPub Service or Collection URL. Here's a short guide on how to find it:

On Wordpress, the URL you want to use is <blog_url>/wp-app.php/posts Note, though, that you need to visit your Wordpress admin panel, and under Settings -> Writing enable the Atom Publishing Protocol before this will work.

For Blogger, you can find the URL by viewing the source to your Blogger blog: it's the address in the <link> tag that has the rel attribute set to service.post. It follows the template http://www.blogger.com/feeds/<blog_id>/posts/default. My blog has id 4164605321218185513, which means my Collection document is http://www.blogger.com/feeds/4164605321218185513/posts/default.

On LiveJournal, the URL is http://www.livejournal.com/interface/atomapi/<username>/post

Anywhere else, you should view the source code, and look near the top for a line that looks like <link rel="service.post" type="application/atom+xml" title="<User-friendly label>" href="<collection_url>" />

Changelog
Version 0.4.4 (2009-04-20)
  • Update error handling code in BlogposterWebRequest to not crash when there is no response
  • Update GoogleClient to not free the Google login token before it's been saved, preventing freeze and failure
  • Move build system to automake
Version 0.4.3 (2008-12-03)
  • Change the plugin to make it work with modern versions of Tomboy
  • Misc changes to make it easier to create Ubuntu packages (Hanno Stock)
Version 0.4.2 (2008-03-03)
  • Fix bug when opening the preferences dialog when not all information is entered
  • Fix password encoding issue
Version 0.4.1 (2007-09-19)
  • Fix bug when saving passwords from the dialog that pops up when you post
  • Fix bug when getting service documents from non-blogger services that use the old namespace
Version 0.4.0 (2007-09-19)
  • Migrate from old Plugin to new AddIn framework to make it work with Tomboy >= 0.7.2
  • Add an option to post notes as drafts
  • Clean up the source a bit
  • Use new official APP namespace when possible
  • Fix a bug when editing blogs that caused tomboy to crash
  • Fix a bug when the service document was password protected
Version 0.3.2
  • Autocreate the configuration folder
Version 0.3.1
  • Make the enter-password-at-post-time-thingy work at all
Version 0.3.0
  • Rename from Tomboy2Wordpress to TomboyBlogposter
  • Complete rewrite
  • Change protocol from Metaweblog to APP
    • Thus, drop XML-RPC library
    • Support GoogleLogin and HTTP Basic login methods
  • Allow user to add multiple blogs
  • Change from GConf to plain XML for account storage
  • Don't save passwords in plain text
  • Make it possible not to save passwords at all
  • Ignore certificates when using HTTPS
Version 0.2.0
  • First _working_ release. 0.1.0 broke when you tried to use it according to my instructions. This hopefully doesn't :)
  • Make api support less broken. It should be able to handle most more-or-less correct MetaWeblog implementations. Tested with Wordpress and Drupal.
  • Add support for multiple blogs on the same account.
  • Make it crash Tomboy slightly less frequently.
  • Turn big and huge text into <h3> resp <h2>, which should be better from a semantic point of view.
Version 0.1.0
  • First public release
  • Basic functionality present