Posting pictures from iPhoto to Midgard

cover image for Posting pictures from iPhoto to Midgard

Photon, Jonathan Younger’s nice photoblogging plugin for iPhoto was released under LGPL last thursday. The tool officially supports Wordpress, MT, TypePad and Blojsom, but actually posts using the standard MetaWeblog API that Midgard also supports.

Here’s how to use it with Midgard:

Install the plugin

Photon installer on OS X

Check the MetaWeblog URL of your blog

MidCOM’s blog component supports MetaWeblog API by default. The URL for it is the blog’s URL, with rpc/metaweblog/. So in my case when the blog URL is http://bergie.iki.fi/blog/, the RPC URL is http://bergie.iki.fi/blog/rpc/metaweblog/.

Edit the Photon settings

Photo’s settings can be found in the Share menu item in iPhoto. In addition to the regular items like File Export and Web Page, there should be a new Weblog tab.

iPhoto's Share Weblog tab

Here you should select the Weblog Settings… to add your Midgard-powered blog into the list.

Unfortunately since Midgard is not yet an officially supported blogging system in Photon, the Autodiscover feature does not work an so you need to input your blog’s information manually. Blog ID doesn’t matter with Midgard, but the Access Point should point to your blog’s RPC URL. Select Blojsom as the Platform, as that makes Photon use standard MetaWeblog API instead of Movable Type API.

Entry creation preferences

Photon allows you to configure what information is stored into what standard Metaweblog entry field. The selections here depend on how you have configured your content schema, but these are fairly good defaults:

Weblog entry creation settings in iPhoto

Posting photos

After the setup has been done, simply select a photo in iPhoto, possibly write title and keywords for it, and select Share-Export (Shift-Command-E). If you are using categories with your blog you can select them here:

Exporting photos into the blog from iPhoto

And that’s it. Now your photo should appear in the blog:

Photoblogged picture online

While this is already nice, it would be even nicer to be able to add Photon support into MidCOM’s photo gallery component. Since Photon source is now open and it is easy to see what it actually does this should be fairly simple and require only porting the MetaWeblog handlers from newsticker.

Thanks to Daikini Software for Open Sourcing this great tool!


Read more Midgard posts.