Blogging with Emacs
This is my first blog entry with my brand new toy, the weblogging mode for Emacs. It uses the XML-RPC interface of your favorite blogging platform to manage your blog. In other words, it transformes Emacs into a thermonuclear blog editor.
Even better, the installation is simple and easy. Here’s the instructions
how to get it working. First, check out
the source code of weblogger into your .emacs.d
directory:
cd ~/.emacs.d/
cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/emacsweblogs \
co -d weblogger weblogger/lisp
Then, make Emacs load this mode on startup by adding these two lines to your
.emacs
configuration:
(add-to-list 'load-path "~/.emacs.d/weblogger")
(require 'weblogger)
Now, you probably want to reload your configuration with M-x
eval-buffer
(assuming your .emacs
is still open). Finally, setup
weblogger for your blog with M-x weblogger-setup-weblog
. This
command will ask you a few simple questions, like your username and
password for your blog. It will also ask you for the location of the
XML-RPC interface of your blog. If you’re using WordPress, it will be
somewhere like http://example.com/blog/xmlrpc.php
. If you’re using
another blog publishing platform like Blogger or MovableType, it will
be somewhere else, so check your documentation.
And you’re done! You can now start new a new post with M-x
weblogger-start-entry
. Weblogger also includes a whole set of other
commands for managing your blog. Look them up, with C-h a weblogger
RET
. Happy blogging!