[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] the "right way" to build OMPL export and import
From: |
Nicolas Goaziou |
Subject: |
Re: [O] the "right way" to build OMPL export and import |
Date: |
Sat, 27 Apr 2013 00:36:01 +0200 |
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.
Regards,
--
Nicolas Goaziou