You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3.3 KiB

QueryTheme QueryAddedDate QueryAuthor QueryLanguage QueryPublishedD QueryReadD cssclass Alias Tag Date DocType ChildrenType Hierarchy location CollapseMetaTable banner banner_icon
Social 2021 cards
Reading
Reading list
🕴️
📖
2021-09-25 Personal
Source
Note
Task
Root
51.514678599999996
-0.18378583926867909
true !IMG_1925.jpg 📚

Parent:: @Lifestyle


^Top

name Create Note
type append template
action NewFile
id CreateNote

^button-ReadingNewNote

name Save
type command
action Save current file
id Save

^button-ReadingMSave

Folder map

title: Summary
collapse: open
This note enables to navigate all books and readings in this Vault.

style: number


Quick Filter

name Search Library
type command
action MetaEdit: Run MetaEdit
id EditMetaData

dv.view("00.01 Admin/dv-views/print_sourcesearch", {sourcetype: "Book", dateadded: dv.current().QueryAddedDate, language: dv.current().QueryLanguage, author: dv.current().QueryAuthor, publicationd: dv.current().QueryPublishedD, theme: dv.current().QueryTheme, readingd: dv.current().QueryReadD})

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", dateadded: dv.current().QueryAddedDate, language: dv.current().QueryLanguage, author: dv.current().QueryAuthor, publicationd: dv.current().QueryPublishedD, theme: dv.current().QueryTheme, readingd: dv.current().QueryReadD})


Unread books

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", readingd: false})


Read books

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", readingd: true})


Quotes

let quotes = [];
dv.pages()
 .where(page => page.quote)
 .forEach(page => {
  dv.array(page.quote)
  .forEach(quote => {
   quotes.push({
    message: quote,
    page: page
    })
 })})
dv.table(["Quote","Page"],quotes
 .map(quotes => [quotes.message, quotes.page.file.link]))


Navigation by language

French literature

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", language: "FR"})


English literature

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", language: "EN"})


International literature

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", language: ["BR", "ES", "NG", "CH", "CN", "MY"]})


Navigation by type

Novel

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", theme: "Novel"})


Essay

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", theme: "Essay"})


Biography

dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", theme: "Biography"})


Tag Navigation

	list
	where Source.Type = "Book"
    Flatten file.tags as tags
	Group by tags


High Level tasks

#^Top