emacs-orgmode
[Top][All Lists]
Advanced

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

RE: [Orgmode] export only the body (with out postamble) as html?


From: Dominik, C.
Subject: RE: [Orgmode] export only the body (with out postamble) as html?
Date: Mon, 9 Jun 2008 09:56:09 +0200


Hi Manoj,

the function `org-export-region-as-html' can be called with a
body-only option, and can also return a string instead of creating a
buffer with the output.  You can write your own wrapper that writes
this strig to a file if that is what you need.

HTH.

- Carsten

-----Original Message-----
From: address@hidden on behalf of Manoj Srivastava
Sent: Mon 6/9/2008 8:52 AM
To: address@hidden
Subject: [Orgmode] export only the body (with out postamble) as html?

Hi,

        I have started using org-mode to write my ikiwiki blog
 entries[0], and I have had to strip out the header and the footer from
 the generated HTML file (since ikiwiki already has complex templates to
 give my pages the correct look and feel).

        Would it be possible to get a finction that just generates the
 body of the page, minus the header and the postamble (and perhaps
 without the <body> and </body> tags) for use in generating embedded
 HTML snippets from org pages?

        thanks,

        manoj

0:
 http://www.golden-gryphon.com/blog/manoj/blog/2008/06/08/Using_org-mode_with_Ikiwiki/
--
gossip, n.: Hearing something you like about someone you don't. Earl
Wilson
Manoj Srivastava <address@hidden> <http://www.golden-gryphon.com/
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


reply via email to

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