Using Weblog Editors with Midgard CMS

Inspired by the public betas of MarsEdit and NetNewsWire, I looked up an old MetaWebLog API support patch I had made for the blogging and news ticker tool of Midgard CMS, de.linkm.newsticker. I modernized the patch a bit and committed it to MidCOM CVS.

This means that all Midgard CMS installations using the new version will provide support for desktop and mobile weblog editors for updating the news items. The "Remote editing tools" support can be switched off in configuration but I've left it on as default.

I've now tested the system with two desktop blogging tools for Mac OS X, ecto and MarsEdit, and it works quite well. I can prepare my blog posts offline, and publish them whenever I have access. In addition, the cool "Post to Weblog" feature in NetNewsWire works with both.

Setting up the desktop blog editors is very simple, simply go to their "New account" or "New weblog" dialogue and give the URL to your newsticker-powered topic. The weblog editor will get all required settings by autoprobing the RSD file provided in the HTML headers. You will be polled only for your username and password and the editing environment should be ready.

If the RSD auto-probing fails for some reason, the XML-RPC interfaces are available in "rpc/metaweblog/" under the newsticker topic. So for example the RPC URL for this blog would be "http://bergie.iki.fi/blog/rpc/metaweblog/".

The MetaWebLog API patch requires the PEAR XML-RPC package to be installed. It is available by default in all PHP 4.3.x installations.

Here are screenshots of the setup and blogging procedure in ecto:

ecto-new-blog.jpg

ecto-new-blog-settings.jpg

ecto-new-blog-username.jpg

ecto-new-blog-name.jpg

ecto-blog-entries.jpg

ecto-new-post.jpg

There are some features missing from the remote editing support that I miss:

  • For some reason MetaWebLog API doesn't let me edit the article abstracts separately
  • Categorization support is still missing from the implementation
  • MetaWebLog API supports only storing images with the topic, not with the article

Anyway, this is a big step forward in making Midgard a good blogging tool. I will try to make all posts in the near future using these desktop tools to get possible details and glitches tracked down.

Here are some screenshots of MarsEdit editing the same blog:

marsedit-new-blog-username.jpg

marsedit-edit-post.jpg

Updated 13:20: I would be more than happy to receive testing reports of using this feature with other desktop blogging tools. Please send them to the midgard-user list. You can also blog your results and just send the URL.


Read more Midgard posts.