From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Parsing property drawers in subtree scope exports Date: Sat, 01 Jul 2017 06:58:20 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045f76aac703a305533c0f76" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRCMW-0005te-1T for emacs-orgmode@gnu.org; Sat, 01 Jul 2017 02:58:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRCMV-0008Aa-5h for emacs-orgmode@gnu.org; Sat, 01 Jul 2017 02:58:36 -0400 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:35262) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRCMU-00089G-U5 for emacs-orgmode@gnu.org; Sat, 01 Jul 2017 02:58:35 -0400 Received: by mail-lf0-x22e.google.com with SMTP id b207so80254786lfg.2 for ; Fri, 30 Jun 2017 23:58:32 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-org list --f403045f76aac703a305533c0f76 Content-Type: text/plain; charset="UTF-8" Hello, I have this test Org file: ===== * Title :PROPERTIES: :FOO: 123 :END: Something ===== I am working on an exporter back-end, and I need to get the value of the :FOO property - During *subtree* export (C-c C-e C-s ..) - In the body filter fn. So I have only info and body at my access. I looked at ox-html.el for hints but that didn't help. In there too, the CUSTOM_ID property drawer (picked one example I knew) is not parsed during subtreep export. How can I do this? Thanks. -- Kaushal Modi --f403045f76aac703a305533c0f76 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I have this test Org file:
=

=3D=3D=3D=3D=3D
* Title
:PROPE= RTIES:
:FOO: 123
:END:
Something
<= div>=3D=3D=3D=3D=3D

I am working on an exporter ba= ck-end, and I need to get the value of the :FOO property
- During= *subtree* export (C-c C-e C-s ..)
- In the body filter fn. So I = have only info and body at my access.

I looked at = ox-html.el for hints but that didn't help. In there too, the CUSTOM_ID = property drawer (picked one example I knew) is not parsed during subtreep e= xport.

How can I do this?

Thanks.
--

Kaushal Modi

--f403045f76aac703a305533c0f76--