From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: Re: Properties and Property Drawers in HTML export Date: Thu, 03 Dec 2009 17:06:42 +0100 Message-ID: References: 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 1NGED2-0005l3-Qk for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:07:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGECy-0005gf-9c for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:07:12 -0500 Received: from [199.232.76.173] (port=56368 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGECx-0005gE-SU for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:07:07 -0500 Received: from lo.gmane.org ([80.91.229.12]:34553) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGECx-0005JD-1j for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 11:07:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NGECu-00034C-56 for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 17:07:04 +0100 Received: from gateway01.sbszh.ch ([217.162.18.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Dec 2009 17:07:04 +0100 Received: from christian.egli by gateway01.sbszh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Dec 2009 17:07:04 +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: emacs-orgmode@gnu.org Hi Rick Moynihan writes: > Would something like the following not be a better format for > parsing/processing? > >
>
>
FOO
class="property_value_foo">blah
>
BAR
class="property_value_bar">blah blah
>
>
org-export-format-drawer-function might be what you are looking for: C-h v org-export-format-drawer-function Function to be called to format the contents of a drawer. The function must accept three parameters: BACKEND one of the symbols html, docbook, latex, ascii, xoxo NAME the drawer name, like "PROPERTIES" CONTENT the content of the drawer. The function should return the text to be inserted into the buffer. If this is nil, `org-export-format-drawer' is used as a default. HTH Christian