Humus numericus

Aller au contenu | Aller au menu | Aller à la recherche

R, Spip et autres

How to post on a dotclear blog with org-mode

I just discovered a very great tool called org2blog that allows to post articles to a Wordpress blog directly from Emacs’ org-mode :

https://github.com/punchagan/org2blog

You just have to set up org2blog with the xmlrpc interface of your blog, and then you can create a new org-mode buffer which will be automatically exported to html and then published to your blog.

Some very great features :

  • HTML export, source code highlighting, org-babel, etc. are fully supported out of the box !
  • you can use an existing org-mode buffer or create a new one to post your article
  • thanks to the embedded post id in the org-mode buffer, you can edit and update an already posted article
  • categories and tags are supported as CATEGORY and TAGS buffer properties, and it even features autocompletion !

You can even post some images directly form your org-file :

/public/_____________20110104_org2mode.jpg

And, finally, I also discovered that org2blog fully supports Dotclear via it’s xml-rpc interface. So I think I know how I will post content on this blog now.

And, finally, just a little proof that org-babel works :

x <- rnorm(100)
summary(x)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
-1.9840 -0.5460  0.1608  0.1768  0.8476  2.2070