From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: HTML export without all
tags Date: Fri, 25 Sep 2009 10:06:52 -0400 Message-ID: References: <20090925150010.0250f077@gaia> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MrBRs-0003HB-3K for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:07:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MrBRo-0003Ey-3g for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:06:59 -0400 Received: from [199.232.76.173] (port=60387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MrBRn-0003Eu-Cb for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:06:55 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:46048) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MrBRm-0004Ax-TV for emacs-orgmode@gnu.org; Fri, 25 Sep 2009 10:06:55 -0400 In-Reply-To: (Carsten Dominik's message of "Fri, 25 Sep 2009 14:45:06 +0100") 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: Carsten Dominik Cc: Detlef Steuer , emacs-orgmode@gnu.org Carsten Dominik writes: > On Sep 25, 2009, at 2:00 PM, Detlef Steuer wrote: > >> 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 So simple and elegant. It's amazing how many simple tricks you learn by hanging around this list. :) - Matt