Aah, good news. There’s a plugin that lets me post to my wordpress blog using Emacs org mode. The github repository is here. The mainpage documentation creates an unecessarily complicated picture of what has to be done to get this puppy running. On emacs 24.5.1 all I had to do was:
- installed org2blog using emacs package manager.
- install the following two lines to my .emacs:
(setq org2blog/wp-blog-alist '(("a-name" :url "http://username.your-blog-address.net/xmlrpc.php" :username "your-username" :default-title "Hello World" :default-categories ("org2blog" "emacs") :tags-as-categories nil) ))
- login with
- post to drafts
And hey presto, I’m up and running. I can write my posts in a first class editing evironment, using a first class markup language, and just export it with a keystroke (there are default keybindings, but I’m not using them yet). More’s possible, but for the moment I’m satisfied with that. For example, there are instructions on the github page explaining how to create a post template, and how customize your authentication, but so far I haven’t felt the need.
Now, let’s see if this leads to more posts on my part.