Closed MorphicResonance closed 2 years ago
Hey, sorry for late reply. Haven't tried logbook parsing personally, but it's possible! Perhaps somewhat related issue: https://github.com/karlicoss/orgparse/issues/8
A PR with a test that reproduces this will be welcome (even if it's failing at the moment, we can disable it for now and fix it later)
Body can be extracted without drawers.
By the way, it seems like repeated_tasks
does not work anymore. I've tried with example from the docs. Something wrong with regex.
hey, I just checked the doctest from here https://github.com/karlicoss/orgparse/blob/349a61f7ba3f0cbdc753a780179b456b1ecb6038/orgparse/node.py#L1398-L1439 and it does extract repeated tasks for me? Can you post a minimal example which doesn't work for you? Thanks :)
It works.
It seems like orgparse get logbook drawer into the body. If I set property drawer and logbook drawer it wiil get logbook drawer as body text.
Test this sample.
** DONE subheader 1 :template:blog: CLOSED: [2021-05-25 Tue 00:51] :PROPERTIES: :CREATED: [2021-05-25 Tue 00:33] :TEMPLATE: test :END: :LOGBOOK:
*** DONE subsubheader :article: CLOSED: [2021-05-25 Tue 00:51] :PROPERTIES: :CREATED: [2021-05-25 Tue 00:33] :TEMPLATE: test :END: :LOGBOOK:
** subheader 2 :blog: :PROPERTIES: :CREATED: [2021-05-25 Tue 00:38] :END: Fish are an important resource for humans worldwide, especially as food.
then run node.body . I breaks on double :end: and gets logbbok into the body.