emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question Regarding Routinely Importing Phone Note Org File Into Othe


From: Ihor Radchenko
Subject: Re: Question Regarding Routinely Importing Phone Note Org File Into Other Org File Under Subheadings
Date: Sun, 20 Aug 2023 17:23:55 +0000

"Samuel Banya" <sbanya@fastmail.com> writes:

> In my actual phone notes file, I have this for an example:
>
> ```
>
> Title: 08-15-2023
>
> Recorded music
>
> ```
>
> With this in mind, how do I facilitate the ability to routinely ingest any of 
> the notes that are date based on the phone note title itself from Orgzly so 
> that it automatically determines the Monday of the given week, creates a 
> 'Week of (Starting Monday of that week)' subheading in the 'notes.org' file 
> and slams that new note in there?

You can use Elisp, for example.
1. Parse your note file to be ingested. You can use regular expressions.
2. Create a heading (using, for example lisp/org-datetree.el functions)
3. Put your note body under the heading.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]