From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Viren Subject: Org mode and "shunt" exporters? Date: Thu, 05 Dec 2013 15:30:13 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vofot-0003GR-GE for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 15:46:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vofok-0005Kl-VL for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 15:46:47 -0500 Received: from smtpgw.bnl.gov ([2620:10a:0:3::30]:62820 helo=iron3.sec.bnl.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vofok-0005Hc-Qi for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 15:46:38 -0500 Received: from bviren by lycastus.phy.bnl.gov with local (Exim 4.80) (envelope-from ) id 1VofYr-0002ts-PC for emacs-orgmode@gnu.org; Thu, 05 Dec 2013 15:30:13 -0500 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Has anyone written any new-style exporter which will produce a common markup/data language format like JSON or YAML? I'm looking for something that fully preserves the original org document structure and does no semantic interpretation along the way. What I really want is to parse arbitrary org files in Python. I've looked at the entries at worg's "org-tool" node which do this but they seem out of date or make assumptions about what org elements exist or their URLs are not loading (NEO). If any of that's a misrepresentation please correct me. In any case, using org's own exporter to produce JSON or YAML and then relying on these format's Python modules for parsing seems like the best way to go to let me author in org and process in Python. I'm not very good with elisp (which is why I want to get org data into Python) but I guess I can have a go at making such a "shunt" exporter. Before I try, I just wanted to check if someone had this wheel already spinning. Thanks, -Brett. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlKg4lUACgkQEixH2Z0dKCzmUgCfeg6KVC1UKgaEN0qfI7p3CaLa gB8AniWYgLV6EO6quezOfFX9h3N/SiAn =4VUV -----END PGP SIGNATURE----- --=-=-=--