On Sep 25, 2009, at 2:00 PM, Detlef Steuer wrote:
Hi!
I'm in the process of adapting cmsimple (www.cmsimple.dk) to use our
university's corporate design. Cmsimple in its core is a php script,
which takes _one_
html file and creates the complete layout of a site on the fly while
splitting the file apart at h[123] levels.
Now I want to create that one html file with org-mode. What else?
If I could get org-mode to export pure html without all the <div>
tags I think I am done. But how to explain to orgmode to be dumb?
The variable Org-Export-Html-Style-Include-Default ist set to nil,
so no definitions included. Nevertheless the way divs are grouped
around headlines seems to disturb cmsimple and its layout.
At least, if I remove all divs the layout is just fine.
Is there a way to get rid of all div tags in exported html?
I guess the easiest would be to just post-process the html file
produced by Org. For example with perl (untested):
perl -ap -e 's/<div [^>]*>//g' orgoutput.html > simple.html
HTH
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode