0

Since I was interested in doing my early capture-templates, I was tempted to go with this template below:

  ("j" "Reference type: Journal" entry (file+headline "~/Dropbox/orgfiles/gtd/ref.org" "Journal")
   "* %^{Heading} %^U %^G\n  :LOGBOOK:\n  Entered on: %U\n  %?\n  :END:\n %i" :empty-lines 1 :jump-to-captured t) 

After using it I got this journal below which has now many entries like this:

My old journal

* Journal
  :PROPERTIES:
  :ARCHIVE: archive.org::
  :END:
** First journal heading. [1990-08-02 Thu 18:29]       :@home:tag1:tag2:tag3:
   :LOGBOOK:
   Entered on: [2018-05-11 Fri 18:28]
   First journal note [1991-02-28 Thu].
   :END:

** Second journal heading. [2003-03-20 Thu 18:21]         :@office:tag3:tag5:
   :LOGBOOK:
   Entered on: [2018-05-11 Fri 18:21]
   Second journal note.
   :END:

** Third journal . <2003-04-09 Wed 18:23>             :@shop:tag2:tag8:tag3:
   :LOGBOOK:
   Entered on: [2018-05-11 Fri 18:23]

   :END:

After using this template for a while, I leaned (hopefully not the hard way) that this template requires time sorting after introducing my entry: an unnecessary step compared to another template that exploits the datetree feature that automatically scans your file and inserts your note(s) to the date tree accordingly without the extra effort of sorting afterwards. So I see now the benefit of using a template with a datetree. However, one pros of my old template is that one can have an overview of all the entered headings instead of eyeballing a boring view of years, months and days. Besides, there is no entry for HH:MM in the datetree method, and I couldn't find a way to add HH:MM to the datetree structure. Sometimes, I want to record the time hour for an event.

The desired journal

* 1990
** 1990-08 August
*** 2018-08-01 Thursday
**** First journal heading.                            :@home:tag1:tag2:tag3:
     :LOGBOOK:
     Entered on: [2018-05-11 Fri 18:28]
     First journal note [1991-02-28 Thu].
     :END:
* 2003
** 2003-03 March
*** 2003-03-20 Thursday
**** Second journal heading.                              :@office:tag3:tag5:
     :LOGBOOK:
     Entered on: [2018-05-11 Fri 18:21]
     Second journal note.
     :END:
** 2003-04 April
*** 2003-04-09 Wednesday
**** Third journal heading.                            :@shop:tag2:tag8:tag3:
    :LOGBOOK:
    Entered on: [2018-05-11 Fri 18:23]

    :END:

Question

How can I convert the journal in my old org-file to the new date tree structure without losses? Also I am open to your suggestions of how to include the HH:MM of timestamps near the headings to the new date tree structure. It should be obvious that the new date tree structure should be based upon that timestamp that is sitting on the same line where the heading is (sometimes active sometimes not) so I have both [...] and <...> timestamps.

Note:

For the new journaling (or zournaling) method using the datetree I am using this template:

  ("z" "Zournal Entry" entry (file+datetree+prompt "~/Dropbox/orgfiles/gtd/zournal.org")
  "* %?" :prepend :empty-lines 1 :jump-to-captured t)

Is there a way to let it include the prompted HH:MM into the entry? I hope so. Till then, I am going to continue using the first template until someone provides the appreciated help.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.