Setup org2blog for blogging from emacs.

org2blog is written by Puneeth Chaganti. It is an emacs extension to post org mode sub trees as wordpress blog entries. In order to set this up clone the repository from github.

# clone org2blog git repository
git clone http://github.com/punchagan/org2blog.git

Add the following snippet to ~/.emacs

(add-to-list 'load-path "~/site-lisp/org2blog")
(require 'org2blog-autoloads)

(setq org2blog/wp-blog-alist
       '(("noorul.com"
          :url "http://noorul.com/blog/xmlrpc.php"
          :username "admin"
          :tags-as-categories t)))
(org2blog/wp-login)

Then I can go to the entry and call M-x org2blog/wp-post-subtree to post a draft or C-u M-x org2blog/wp-post-subtree to publish it.

This entry was posted in blog, emacs, orgmode, web, wordpress. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>