From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: HTML export without all
tags Date: Fri, 25 Sep 2009 14:45:06 +0100 Message-ID: References: <20090925150010.0250f077@gaia> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrB6p-0004ew-EZ for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 09:45:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrB6k-0004e0-Sg for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 09:45:14 -0400 Received: from [199.232.76.173] (port=50182 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrB6k-0004dx-Nt for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 09:45:10 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:63171) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrB6k-0000YI-55 for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 09:45:10 -0400 Received: by ewy4 with SMTP id 4so774523ewy.31 for ; Fri, 25 Sep 2009 06:45:09 -0700 (PDT) In-Reply-To: <20090925150010.0250f077@gaia> 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: Detlef Steuer Cc: emacs-orgmode@gnu.org 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
> 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/
]*>//g' orgoutput.html > simple.html HTH - Carsten