I just found out you can easily post Drupal blog entries from within
Emacs by using the wonderful 'weblogger.el'. Here's what you have to do:
- Enable the 'Blog API' module in your Drupal installation and
configure permissions and the blog types which should be accessible via
- Go to the Weblogger EmacsWiki
page and get yourself weblogger.el and xml-rpc.el.
both in your load-path and require weblogger in your .emacs.
call weblogger-setup-weblog and use
https://your-drupal-site/xmlrpc.php as URL for accessing
the Drupal XML-RPC API, then provide username and password.
call weblogger-start-entry and start writing.
- Use C-x C-s
That's it! Now you can for instance create blog entries with the
fantastic markup from Orgmode, and directly post it via
weblogger-mode. There's just one problem: how can you set the taxonomy
tags for the posting? Simply putting it into the 'keywords' section
didn't work. It seems like you cannot do that via XML-RPC in Drupal, but
luckily there's a little Drupal module called 'inline tags'
lets you flag the posting through a special tag
Note that the module requires Drupal 6, but it wasn't very hard to make
it work under Drupal 5 (which I'm still using) - let me know if you need