[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] XML dump of org file?
From: |
Brett Viren |
Subject: |
Re: [O] XML dump of org file? |
Date: |
Thu, 22 Sep 2016 13:36:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Aaron Ecay <address@hidden> writes:
> Have a look at the org-element library,
Just to add, there are circular dependencies in this data structure due
to ":parent" and potentially some of the ":structure" elements. They
obviously need to be broken to avoid infinite loops.
Here my hackish attempt to deal with this in order to dump org-element
to JSON:
https://github.com/brettviren/joyful-web/blob/master/joy/org2json.el
See org-json-straigten-tree for how I nullified these elements.
-Brett.
signature.asc
Description: PGP signature