emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Babel for blogging


From: Manuel Giraud
Subject: [Orgmode] Babel for blogging
Date: Fri, 15 Oct 2010 18:07:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix)

Hi, 

I'd like to set up a simple blog (with static page only) using emacs. So
far, I was able to use emacs-muse based on the following instructions:
http://alexott.net/en/writings/EmacsMuseMyPage.html
http://www.diale.org/muse-functions.html

Now, I'd like to give org-publish a try because it seems to provide nice
features (and i'm already using org-mode as an agenda anyway).  So far
so good I can publish entries, but I can't find a way to produce an
index of all the entries sorted by date.

With muse, i created a file with a <lisp></lisp> block to call the
function muse-index-as-string-sort-by-date and this call insert the
updated index in place.

Now I'd like to do something similar using org-mode babel feature, but
if i try this:
---8<-----
#+BEGIN_SRC emacs-lisp :results output :exports results
  (list "[[bar][1]]" "[[foo][2]]")
#+END_SRC
---8<-----

The content appears as a code snippet in the html export which is not
exactly what I want. How can I do this? Am I misleaded because
org-publish already provide this?

-- 
Manuel Giraud



reply via email to

[Prev in Thread] Current Thread [Next in Thread]