From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: the "right way" to build OMPL export and import
Date: Fri, 26 Apr 2013 21:51:37 -0700 [thread overview]
Message-ID: <878v44podi.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87hais6hta.fsf@gmail.com
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Eric Abrahamsen <eric@ericabrahamsen.net> 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...
prev parent reply other threads:[~2013-04-27 4:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-24 20:25 the "right way" to build OMPL export and import Alexis Gallagher
2013-04-26 21:30 ` Eric Abrahamsen
2013-04-26 21:49 ` Nicolas Goaziou
2013-04-26 22:23 ` Eric Abrahamsen
2013-04-26 22:36 ` Nicolas Goaziou
2013-04-27 4:51 ` Eric Abrahamsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878v44podi.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).