Posting to Movable Type From Emacs

| No Comments | 1 TrackBack

I stumbled across weblogger.el which is an xml-rpc interface for posting to several blog engines, including Movable Type which I use. And I thought: Hey, why use that somewhate crappy online editor for writing blog posts when one can use a fairly OK operating system to do the job (aka Emacs).

Setup

Download weblogger.el from the above link and also the requisite xml-rpc and load them in .emacs in the usual manner.

Run weblogger-setup-weblog and fill in the correct values for configuring the blogging engine. For Movable Type the URL endpoint is http://your.blog.url/mt/mt-xmlrpc.cgi. The user name is your usual username, but the password is the special API password which can be found and set on the bottom of the user page in the admin interface. After that it's just C-c C-n for a new entry. The setup will fetch all existing entries automatically so you can cycle through and edit too.

Caveats

It seems the current version of weblogger.el doesn't handle drafts properly against MT 4. The first version saved as a draft is published instantly :-/. Later saves keep the draft status. Also, the familiar C-c C-s for saving the buffer actually publishes. So you're going live pretty soon.

1 TrackBack

TrackBack URL: http://blog.knuthaugen.no/mt/mt-tb.cgi/19

Now that things seem to be up and running well, I figured it'd be a good time to figure out an easier way to post entries. I tend to use Emacs for a lot of my work, and it seemed... Read More

Leave a comment

mini bio

Knut Haugen [Knu:t Hæugen], Norwegian software developer with a penchant for dynamic languages and anything to with developer testing. Agile methodology geek with bias on Lean and Kanban. Some pointers to other stuff by me

meta

This page contains a single entry by Knut Haugen published on December 29, 2009 4:55 PM.

A MacOS X Keyboard Layout for Programming was the previous entry in this blog.

Linkdropping on NoSQL, Lean and Systems Thinking is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.