emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Feng Li <m@feng.li>
To: emacs-orgmode@gnu.org
Subject: `:html-postamble'  and `org-get-file-contents'
Date: Sat, 10 Mar 2012 16:48:42 +0100	[thread overview]
Message-ID: <4F5B77DA.4030102@feng.li> (raw)

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/

                 reply	other threads:[~2012-03-10 15:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F5B77DA.4030102@feng.li \
    --to=m@feng.li \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).