Wednesday, June 17, 2009

Posting to blogger from emacs using e-blog

g-client is a bit of a nightmare to get working. I plan to go back and play with it, since it sets up a lot of useful plumbing for google services. But for now, no go on the blog.

weblogger looks like it may work for other blogging services, but appears to have been broken by blogger API changes.

However, e-blog works great with a minimum of fuss. Simply install in a lisp directory, and add this to ~/.emacs:


(load-file '~/path/to/e-blog/e-blog.el')


Invoke with:

M-x e-blog-new-post


Here's a shortcut function:

(defun blog ()
(interactive)
(e-blog-new-post))

No comments:

Post a Comment