I am using the Readwise plugin to import all my highlights. I have tagged each note with a property to implement Tiago Forte’s progressive summarization process. You don’t need to read the article, but wanted to include a link to it for anyone who might be interested in what I’m referring to.
I have some dataviewjs code to surface a random note from all the notes in my Readwise folder.
After more trial and error, I found the following:
In a regular dataview query it’s easier to target a property that is a string. But, I don’t know how to code that in my js query.
When I changed the property of a test note from date modified to date_modified I got the result I’m looking for by targeting doc.date_modified.
The problem is I’m using templates. All my templates have date modified. And I’d really like to not have to manually change all of my 2-word properties. I’m already processing my notes and don’t want to loose what I’ve done to do a resync with Readwise and get duplicates.
Does obsidian have a find and replace function across a vault?
After much trial and error and testing, I think I have figured out the code.
My property type is a string. (Which is what caused this long journey.)
I can now target the string (which is a property type date) with the code below.
I am also sorting on two columns. a) The level of the summarization process, b) the date the file has been modified.
I am not using Obsidian’s default modification date because then this will never work. I use the Linter plugin to update the modified date on a manual save.