From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Li Subject: `:html-postamble' and `org-get-file-contents' Date: Sat, 10 Mar 2012 16:48:42 +0100 Message-ID: <4F5B77DA.4030102@feng.li> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6OYZ-0006Kg-8w for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 10:50:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6OYX-0007ZR-Al for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 10:50:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:33929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6OYX-0007Xz-3b for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 10:50:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S6OYV-0003QC-Ck for emacs-orgmode@gnu.org; Sat, 10 Mar 2012 16:50:03 +0100 Received: from s213-103-213-104.cust.tele2.se ([213.103.213.104]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2012 16:50:03 +0100 Received: from m by s213-103-213-104.cust.tele2.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Mar 2012 16:50:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Dear all, Can someone tell me how to use the function `org-get-file-contents' together with `:html-postamble'? I have a line in my .emacs `org-publish-project-alist' as follows > :html-postamble ,(org-get-file-contents "~/workspace/web/html/style/postamble.html") where my `postamble.html' is just a sentence "Edited by Feng Li". This seems to have no effect because I still get the default postamble like this when I publish the project > Author: Feng Li Date: 2012-03-10 12:46:36 CET Generated by Org > version 7.8.03 with Emacs version 24 While if I change the html-postamble to the string directly > :html-postamble "Edited by Feng Li" it shows the postamble changes accordingly. Thanks in advance! Feng -- Feng Li Department of Statistics Stockholm University 106 91 Stockholm, Sweden http://feng.li/