[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] the "right way" to build OMPL export and import
From: |
Eric Abrahamsen |
Subject: |
Re: [O] the "right way" to build OMPL export and import |
Date: |
Fri, 26 Apr 2013 21:51:37 -0700 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Eric Abrahamsen <address@hidden> writes:
>
>> Would you suggest an export backend that only handles headlines (other
>> elements are a no-op)? I suppose you could just write org-opml-headline
>> to read properties and return XML chunks, and then you wouldn't have to
>> use `org-element-parse-buffer' at all.
>
> I don't know well OMPL format, but IIRC, it needs an inner-template
> (which would handle <opml>, <head>, etc.), a headline transcoder, and
> a couple of objects transcoders (e.g., for entities) in order to
> properly export text attribute.
>
> Anyway, you don't need to use `org-element-parse-buffer' at all.
Great, thanks for the tips. Sorry if I hijacked the thread a bit, anyway
should be useful to the OP...