From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manuel Giraud Subject: Babel for blogging Date: Fri, 15 Oct 2010 18:07:19 +0200 Message-ID: <87y69zqw20.fsf@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=42660 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6moV-0002Du-1y for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 12:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6moT-0002nB-OO for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 12:07:22 -0400 Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145]:36387 helo=smtp-tls.univ-nantes.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6moT-0002mb-Jj for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 12:07:21 -0400 Received: from localhost (debian [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id E156C95437 for ; Fri, 15 Oct 2010 18:07:19 +0200 (CEST) Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtp-tls1.d101.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VFpCw3wC8gZ4 for ; Fri, 15 Oct 2010 18:07:19 +0200 (CEST) Received: from K (unknown [172.16.13.134]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id C3CF395432 for ; Fri, 15 Oct 2010 18:07:19 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 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