Hi Martin,

Martin <kleinerdra...@gmx.at> writes:

> Where do I find the contrib/ repository?

~$ git clone git://orgmode.org/org-mode.git
~$ cd org-mode/contrib/

or http://orgmode.org/org-8.2.5h.zip, unzip, and open the*
contrib/ directory.

> So what I think now is, I'd like to get some elisp functions which can
> parse my orgmode files, where I have i.e. an appointment APPT or an TODO
> entry and getting things (keywords, CLOCK:, properties out of it and
> also the text after my things (or should I the text in a Drawer, maybe
> its easyer for parsers later) - getting the things out of the entries
> and work with them on in any other way.

(org-entry-get (point) "APPT") will get you the value of the property
APPT in the current subtree.  Same for other properties.  As for more
fine-grained parsing, start with (org-element-at-point) -- but beware
this can lead to a long trip into the internals.

You can also check: http://orgmode.org/worg/dev/org-syntax.html,
by Nicolas, which gives a thorough introduction to Org syntax.

> so if org-collector is a good way to see how it works, it would be very
> useful for me.

Please check it and let us know about your progress.

Best,

-- 
 Bastien

Reply via email to