A requirement .. log node access by date/time

Home Forums cherrytree A requirement .. log node access by date/time

Tagged: 

This topic contains 2 replies, has 1 voice, and was last updated by  eureka 2 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #125295

    eureka
    Member

    I use CherryTree extensively for my notes across many topics.
    However the number of nodes is getting out of control and I would like to be able to go back in time sequence through the nodes I have edited. e.g. which nodes did I modify in last two weeks?

    The search feature can search for a pattern with variable
    Node created after
    Node created before
    Node modified after
    Node modified before

    But what if I do not know what pattern to use?
    I see that there is a regex option for search and I do get results by using this pattern ..

    /[\s\S]+/g

    I simply want a log of nodes accessed by date/time.

    If this log cannot be obtained from existing node search (e.g. by regex pattern), where can this logging method be added to the source code?

    #125297

    eureka
    Member

    After posting my requirement I found this thread …

    https://www.giuspen.com/topic/how-to-use-search-to-find-all-entries-for-date-range/

    which raises the same issue. However I get many hits and it would be easier if the search results could be dumped and the results parsed.

    #125301

    eureka
    Member

    I have found an alternative route. I see that I can parse the *.ctd (xml) file to look at node attributes such as node timestamp created and accessed. I will write a python script to parse the xml file. But it would still be helpful to know where to dump node timestamps from the internal code in CherryTree.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.