From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Shlyakhter Subject: Re: suggestion: "native" orgmode XML export (and import?) Date: Sat, 8 Aug 2009 22:25:28 +0200 Message-ID: <4b11f87e0908081325h6d3ec469id91fcdb739f5a201@mail.gmail.com> References: <4b11f87e0908060754o7601aeb1uf9b8cebf44c29a24@mail.gmail.com> <1f38ae890908061457m7350ecfdw566e7ce9adc6f06e@mail.gmail.com> <1f38ae890908061458kc3d71fci7f944ae03c2400e@mail.gmail.com> <4b11f87e0908062305ue685293m633213469c47d0e8@mail.gmail.com> <1f38ae890908070213x1fabc9e3o75db945d9f86b2fa@mail.gmail.com> <4b11f87e0908070246rc21ec59k99b0f6ddaac84be3@mail.gmail.com> <87fxc2g8kn.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZsTu-0004ee-Is for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:25:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZsTp-0004eS-V6 for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:25:34 -0400 Received: from [199.232.76.173] (port=51569 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZsTp-0004eP-S7 for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:25:29 -0400 Received: from mail-ew0-f207.google.com ([209.85.219.207]:65078) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZsTp-0008Ez-BV for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:25:29 -0400 Received: by ewy3 with SMTP id 3so1392880ewy.31 for ; Sat, 08 Aug 2009 13:25:28 -0700 (PDT) In-Reply-To: <87fxc2g8kn.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode > In the meantime, it would be useful to describe what kind of XML output > do you want, because "XML" does not really describe anything per se. I'm looking for XML output that would closely mirror the logical structure of the org file, and that would contain all the information in the orgfile (since it's easy to ignore the parts you don't need during XML processing). So, something like Tasks Here are the tasks I need to do Buy bread DONE fooderrands Importance1 Deadline0708<= year>09 The details of the XML schema can of course change. But it should let you process org file data without having to parse any elements of the org file (ideally, even dates) -- it would all be parsed by orgmode's native parsing code and put into XML elements. If there are questions about how to represent specific org elements in XML I can try to write a more detailed spec. thanks, ilya On Sat, Aug 8, 2009 at 7:48 AM, Bastien wrote= : > Ilya Shlyakhter writes: > >> That's great, thanks! =A0I should be able to take it from there. >> It would be great if at some point this became official, and also >> included an XML exporter and specification. > > FYI, I'll upload a slightly improved version of org-export.el next week, > together with documentation on how to write an exporter. =A0But the basic > structure of the parsed buffer is the same, you can use it safely. > > In the meantime, it would be useful to describe what kind of XML output > do you want, because "XML" does not really describe anything per se. > > Best, > > -- > =A0Bastien >