unnoted,

If I’m understanding you correctly, I think I do something similar to track my book reading progress. I log my book reading progress in my daily note, with a [[link to bookname]] and then use dataview to also list all the progress entries inside the note for the book.

on my daily page, I’ll have something like this:


<span style="color:#323232;">## Reading
</span><span style="color:#323232;">* [[Tomorrow and Tomorrow and Tomorrow _ Gabrielle Zevin]] - 20%
</span><span style="color:#323232;">    really enjoying this book so far! the perspective changes... (paragraph snipped)
</span>

(I’m not sure it’s obvious above, but I do the four spaces thing to nest a paragraph under the bullet point.)

Then on the page for the book itself, I have this dataview query


<span style="color:#323232;">```dataview
</span><span style="color:#323232;">LIST
</span><span style="color:#323232;">regexreplace(replace(L.text, "[[" + this.file.name + "]]", ""), "^[ :-]*", "")
</span><span style="color:#323232;">FROM [[]] and "Log"
</span><span style="color:#323232;">flatten file.lists as L
</span><span style="color:#323232;">WHERE meta(L.section).subpath = "Reading" and contains(L.text, this.file.name)
</span><span style="color:#323232;">sort file.name
</span><span style="color:#323232;">```
</span>

I think for you, you would replace the check I’m doing for the section heading = Reading with a check for the tag instead. The replace and regex business is just so I don’t wind up repeating the [[link to bookname]] inside the note for the book, and also to shave off some inconsistent formatting I’ve used over time. What displays on my book page is something like this:


<span style="color:#323232;">* 2023-06-09: 20%
</span><span style="color:#323232;">    really enjoying this book so far! the perspective changes... (paragraph snipped)
</span>

(with a link back to the original daily note)

By the way, I couldn’t figure out a way to do this using dataview without using list items (and nesting paragraphs under the list item). I think because dataview indexes list items, but won’t necessarily index other blocks of text? (The future version of dataview, datacore does mention supporting queries at the section and block level though.)

Hope this gives you some ideas!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • Ask_kbincafe
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines