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.

263 lines
3.3 KiB

---
QueryTheme: Social
QueryAddedDate: 2021
QueryAuthor:
QueryLanguage:
QueryPublishedD:
QueryReadD:
cssclass: cards
Alias: ["Reading", "Reading list"]
Tag: ["🕴️", "📖"]
Date: 2021-09-25
DocType: "Personal"
ChildrenType:
- Source
- Note
- Task
Hierarchy: "Root"
location: [51.514678599999996, -0.18378583926867909]
CollapseMetaTable: true
banner: "![[IMG_1925.jpg]]"
banner_icon: 📚
---
Parent:: [[@Lifestyle]]
---
^Top
 
```button
name Create Note
type append template
action NewFile
id CreateNote
```
^button-ReadingNewNote
```button
name Save
type command
action Save current file
id Save
```
^button-ReadingMSave
 
# Folder map
 
```ad-abstract
title: Summary
collapse: open
This note enables to navigate all books and readings in this Vault.
```
 
```toc
style: number
```
 
---
 
### Quick Filter
 
```button
name Search Library
type command
action MetaEdit: Run MetaEdit
id EditMetaData
```
 
```dataviewjs
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})
```
 
```dataviewjs
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
 
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", readingd: false})
```
 
---
 
### Read books
 
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", readingd: true})
```
 
---
 
### Quotes
 
```dataviewjs
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
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", language: "FR"})
```
 
---
 
#### English literature
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", language: "EN"})
```
 
---
 
#### International literature
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", language: ["BR", "ES", "NG", "CH", "CN", "MY"]})
```
 
---
 
### Navigation by type
 
#### Novel
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", theme: "Novel"})
```
 
---
 
#### Essay
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", theme: "Essay"})
```
 
---
 
#### Biography
```dataviewjs
dv.view("00.01 Admin/dv-views/book_query", {sourcetype: "Book", theme: "Biography"})
```
 
---
 
### Tag Navigation
 
```dataview
list
where Source.Type = "Book"
Flatten file.tags as tags
Group by tags
```
 
---
 
### High Level tasks
 
[[#^Top|TOP]]