Thanks to the instructions at http://blog.gabrielsaldana.org/post-to-wordpress-blogs-with-emacs-org-mode/ now got this blogging working from emacs.
There’s some configuration required, I usually put stuff I don’t use frequently in a function to avoid cluttering my startup, so I ended up with (I don’t use xml-rpc for anything else, but it could be moved out of the defun)
(defun my-wordpress ()
(interactive)
(add-to-list 'load-path (concat *my-site-lisp* "xml-rpc"))
(require 'xml-rpc)
(add-to-list 'load-path (concat *my-site-lisp* "org2blog"))
(require 'org2blog-autoloads)
(setq org2blog/wp-track-posts (list "/home/my/blog/logs" "Posts")
(setq org2blog/wp-blog-alist
'(("imp"
:url "some_url_ending_with/xmlrpc.php"
:username "admin"
:default-title "New entry"
:default-categories ("emacs")
:tags-as-categories nil)
))
(org2blog/wp-login)
(message "Use M-x org2blog/wp-post-subtree to post the current tree")))