From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi <giovanni.ridolfi@yahoo.it> Subject: scripting challenge (was: Re: HTML export without all <div ...> tags) Date: Fri, 25 Sep 2009 07:15:03 -0700 (PDT) Message-ID: <476389.12441.qm@web28308.mail.ukl.yahoo.com> References: <D72BCC93-EB47-4844-A296-EDCFD422538D@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrBZh-0007DF-Bu for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:15:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrBZg-0007D3-Q7 for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:15:05 -0400 Received: from [199.232.76.173] (port=44487 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrBZg-0007D0-M0 for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:15:04 -0400 Received: from n24.bullet.mail.ukl.yahoo.com ([87.248.110.141]:30444) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from <giovanni.ridolfi@yahoo.it>) id 1MrBZg-0007SQ-3Y for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:15:04 -0400 In-Reply-To: <D72BCC93-EB47-4844-A296-EDCFD422538D@gmail.com> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <steuer@unibwh.de>, Carsten Dominik <carsten.dominik@gmail.com> Cc: emacs-orgmode@gnu.org > > If I could get org-mode to export pure html without=0A> all the <div> t= ags I think I am done. =0A> I guess the easiest would be to just post-proce= ss the html=0A> file=0A> produced by Org.=A0 For example with perl (unteste= d):=0A> =0A> perl -ap -e 's/<div [^>]*>//g' orgoutput.html >=0A> simple.htm= l=0A> =0A=0A[OT] comp.perl.group ;-)=0A=0ACarsten, =0A=0AI'curious (and al= so a bit provocative ;-), =0Adoes your command work also for </div> tags ?= =0A=0AIs there a way to remove both <div> and </div> =0Ain the same line?= =0A=0Acheers,=0AGiovanni=0A=0A=0A