From 97e1da4d2b21cc2d697a1cf1f7f4a2f8979e42f3 Mon Sep 17 00:00:00 2001 From: Steph Ango <10565871+kepano@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:12:55 -0700 Subject: [PATCH] 2023-09-13 14:12:55 --- Albums.md | 12 +++++++++--- Board games.md | 9 +++++++-- Books.md | 13 +++++++++--- Clippings.md | 11 ++++++++--- Companies.md | 9 ++++++--- Events.md | 8 +++++--- Games.md | 13 +++++++++--- Meetings.md | 11 ++++++++--- Movies.md | 24 +++++++++++++++++------ People.md | 9 ++++++--- Places.md | 12 +++++++++--- Podcast episodes.md | 13 +++++++++--- Podcasts.md | 8 +++++--- Recipes.md | 8 +++++--- References/Brown butter nectarine tart.md | 6 +++++- References/Jazz.md | 9 +++++++-- References/Kevin Kelly.md | 16 +++++++++++---- References/Paul Chambers.md | 10 +++++++--- References/Steph Ango.md | 6 ++++-- References/Well Made.md | 10 +++++++--- Templates/Actor Template.md | 12 ++++++++---- Templates/Author Template.md | 3 ++- Templates/City Template.md | 2 +- Templates/Director Template.md | 12 ++++++++---- Templates/Game Studio Template.md | 2 +- Templates/Genre Template.md | 12 ++++++++++++ Templates/Meeting Type Template.md | 3 ++- Templates/Meetings List Template.md | 3 ++- Templates/Movie Genre Template.md | 11 +++++++---- Templates/Music Genre Template.md | 11 ++++++++--- Templates/Musician Template.md | 11 ++++++++--- Templates/People Template.md | 9 ++++++--- Templates/People Type Template.md | 8 +++++--- Templates/Place Type Template.md | 8 ++++++-- Templates/Podcast Template.md | 10 +++++++--- Templates/Product Type Template.md | 3 ++- Templates/Video Game Genre Template.md | 2 +- 37 files changed, 244 insertions(+), 95 deletions(-) create mode 100644 Templates/Genre Template.md diff --git a/Albums.md b/Albums.md index 331b730..d1158e6 100644 --- a/Albums.md +++ b/Albums.md @@ -4,8 +4,14 @@ tags: - databases --- ```dataview -table without id file.link as Album, artist as Artist, rating as Rating, year as Year, genre as Genre -from #albums -where !contains(file.name, "Template") +table without id + file.link as Album, + artist as Artist, + rating as Rating, + year as Year, + genre as Genre +where + contains(category,this.file.link) and + !contains(file.name, "Template") sort rating desc ``` \ No newline at end of file diff --git a/Board games.md b/Board games.md index 6227b92..f0bf3ca 100644 --- a/Board games.md +++ b/Board games.md @@ -3,6 +3,11 @@ tags: - databases --- ```dataview -table without id file.link as Game, rating as Rating, last as Last -where contains(category,[[Board games]]) and !contains(file.name,"Template") +table without id + file.link as Game, + rating as Rating, + last as Last +where + contains(category,this.file.link) and + !contains(file.name,"Template") ``` \ No newline at end of file diff --git a/Books.md b/Books.md index 33336e5..c67d648 100644 --- a/Books.md +++ b/Books.md @@ -4,8 +4,15 @@ tags: --- ```dataview -table without id file.link as Book, author as Author, year as Year, rating as Rating, created as Added, genre as Genre -from #books -where !contains(file.name, "Template") and rating > 5 +table without id + file.link as Book, + author as Author, + year as Year, + rating as Rating, + created as Added, + genre as Genre +where + contains(category,this.file.link) and + !contains(file.name, "Template") sort rating desc, date asc ``` diff --git a/Clippings.md b/Clippings.md index 06aab38..d59e2f9 100644 --- a/Clippings.md +++ b/Clippings.md @@ -3,8 +3,13 @@ tags: - databases --- ```dataview -table without id file.link as Title, author as Author, created as Clipped, published as Published -from #clippings -where !contains(file.name, "Template") +table without id + file.link as Title, + author as Author, + created as Clipped, + published as Published +where + contains(category,this.file.link) and + !contains(file.name, "Template") sort clipped desc ``` \ No newline at end of file diff --git a/Companies.md b/Companies.md index a58952e..366b375 100644 --- a/Companies.md +++ b/Companies.md @@ -3,8 +3,11 @@ tags: - databases --- ```dataview -table without id file.link as Company, url as Link -from [[Companies]] -where !contains(file.name, "Template") +table without id + file.link as Company, + url as Link +where + contains(category,this.file.link) + and !contains(file.name, "Template") sort file.mtime desc ``` \ No newline at end of file diff --git a/Events.md b/Events.md index 36d42c5..924c5ef 100644 --- a/Events.md +++ b/Events.md @@ -3,7 +3,9 @@ tags: - databases --- ```dataview -table without id file.link as Event -from #events -where !contains(file.name,"Template") +table without id + file.link as Event +where + contains(category,this.file.link) and + !contains(file.name,"Template") ``` \ No newline at end of file diff --git a/Games.md b/Games.md index 9dde306..e0171a4 100644 --- a/Games.md +++ b/Games.md @@ -4,8 +4,15 @@ tags: --- ```dataview -table without id file.link as Game, maker as Maker, genre as Genre, year as Year, rating as Rating, last as "Last played" -from #games -where !contains(file.name, "Template") +table without id + file.link as Game, + maker as Maker, + genre as Genre, + year as Year, + rating as Rating, + last as "Last played" +where + contains(category,this.file.link) and + !contains(file.name, "Template") sort last desc ``` \ No newline at end of file diff --git a/Meetings.md b/Meetings.md index 4ca9351..924dbb8 100644 --- a/Meetings.md +++ b/Meetings.md @@ -3,9 +3,14 @@ tags: - databases --- ```dataview -table without id file.link as Meeting, type as Type, people as People, date as Date -from #meetings -where !contains(file.name,"Template") +table without id + file.link as Meeting, + type as Type, + people as People, + date as Date +where + contains(category,this.file.link) and + !contains(file.name,"Template") sort date desc limit 100 ``` \ No newline at end of file diff --git a/Movies.md b/Movies.md index 1c41965..903c92b 100644 --- a/Movies.md +++ b/Movies.md @@ -5,18 +5,30 @@ tags: ## Favorites ```dataview -table without id file.link as Movie, year as "Year", ratingImdb as "Rating", last as "Last seen", director as "Director" -from #movies -where rating > 9 +table without id + file.link as Movie, + year as Year, + rating as Rating, + last as "Last seen", + director as Director +where + contains(category,this.file.link) + and rating > 9 sort rating desc ``` ## Last seen ```dataview -table without id file.link as Movie, year as "Year", rating as "Rating", last as "Last seen", director as "Director" -from #movies -where last != "" and !contains(file.name, "Template") +table without id + file.link as Movie, + year as Year, + rating as Rating, + last as "Last seen", + director as Director +where + contains(category,this.file.link) and + last != "" and !contains(file.name, "Template") sort last desc limit 100 ``` \ No newline at end of file diff --git a/People.md b/People.md index e396306..e7d45fc 100644 --- a/People.md +++ b/People.md @@ -3,8 +3,11 @@ tags: - databases --- ```dataview -table without id file.link as Person, filter(file.tags, (t) => t !="#people") as Tags -from #people -where !contains(file.name,"Template") and !contains(file.tags,"people/type") +table without id + file.link as Person, + filter(file.tags, (t) => t !="#people") as Tags +where + contains(category,this.file.link) and + !contains(file.name,"Template") sort file.name asc ``` \ No newline at end of file diff --git a/Places.md b/Places.md index 60b6c8b..ba5ee16 100644 --- a/Places.md +++ b/Places.md @@ -11,8 +11,14 @@ height:50% ```dataview -table without id file.link as Place, location as "Location", type as Type, rating as "Rating" -from #places -where !contains(file.tags,"places/types") and !contains(file.name,"Template") +table without id + file.link as Place, + location as Location, + type as Type, + rating as Rating +where + contains(category,this.file.link) and + !contains(file.tags,"places/types") and + !contains(file.name,"Template") sort last desc ``` \ No newline at end of file diff --git a/Podcast episodes.md b/Podcast episodes.md index 8939e97..67a34ea 100644 --- a/Podcast episodes.md +++ b/Podcast episodes.md @@ -3,8 +3,15 @@ tags: - databases --- ```dataview -table without id link(file.link, "Ep. " + string(episode)) as Episode, show as "Show", guests as "Guest", episode as Ep, rating as "Rating", published as "Published" -from #podcast and #episodes -where !contains(file.name, "Template") +table without id + link(file.link, "Ep. " + string(episode)) as Episode, + show as Show, + guests as Guest, + episode as Ep, + rating as Rating, + published as "Published" +where + contains(category,this.file.link) and + !contains(file.name, "Template") sort published desc ``` \ No newline at end of file diff --git a/Podcasts.md b/Podcasts.md index 1aa321b..d0a976c 100644 --- a/Podcasts.md +++ b/Podcasts.md @@ -2,8 +2,10 @@ related: "[[Podcast episodes]]" --- ```dataview -table without id file.link as Podcast, host as "Host" -from #podcast and !#episodes -where !contains(file.name,"Template") +table without id + file.link as Podcast, host as "Host" +where + contains(category,this.file.link) and + !contains(file.name,"Template") sort file.name asc ``` \ No newline at end of file diff --git a/Recipes.md b/Recipes.md index 90c4fa0..333ed01 100644 --- a/Recipes.md +++ b/Recipes.md @@ -1,6 +1,8 @@ ```dataview -table without id file.link as Recipe, type as Type, author as Author, ingredients as Ingredients, rating as Rating -from #recipes -where !contains(file.name,"Template") +table without id + file.link as Recipe, type as Type, author as Author, ingredients as Ingredients, rating as Rating +where + contains(category,this.file.link) and + !contains(file.name,"Template") sort created desc ``` \ No newline at end of file diff --git a/References/Brown butter nectarine tart.md b/References/Brown butter nectarine tart.md index 6633290..170672a 100644 --- a/References/Brown butter nectarine tart.md +++ b/References/Brown butter nectarine tart.md @@ -1,7 +1,9 @@ --- category: - "[[Recipes]]" -cuisine: + - "[[Clippings]]" +cuisine: + - "[[American]]" type: - "[[Dessert]]" ingredients: @@ -9,7 +11,9 @@ ingredients: author: - "[[Steph Ango]]" url: https://stephango.com/brown-butter-nectarine-tart +servings: 8 slices (11 inch tart) rating: 7 +published: 2023-07-30 created: 2023-09-12 last: 2023-09-12 tags: diff --git a/References/Jazz.md b/References/Jazz.md index 19e67cd..158912b 100644 --- a/References/Jazz.md +++ b/References/Jazz.md @@ -4,8 +4,13 @@ tags: --- ```dataview -table without id file.link as Album, artist as "Artist", genre as "Genre", rating as "Rating" +table without id + file.link as Album, + artist as Artist, + genre as Genre, + rating as Rating from #albums -where genre = this.file.link or contains(genre,this.file.link) +where + contains(genre,this.file.link) sort rating desc ``` \ No newline at end of file diff --git a/References/Kevin Kelly.md b/References/Kevin Kelly.md index 3fc023d..98dd596 100644 --- a/References/Kevin Kelly.md +++ b/References/Kevin Kelly.md @@ -9,16 +9,22 @@ created: 2023-09-12 ## Books ```dataview -table without id file.link as Title, year as "Year", rating as "Rating" +table without id + file.link as Title, + year as Year, + rating as Rating from #books -where author = this.file.link or contains(author,this.file.link) +where + contains(author,this.file.link) sort rating desc ``` # Clippings ```dataview -table without id file.link as Title, published as Published +table without id + file.link as Title, + published as Published from #clippings where author = this.file.link or contains(author,this.file.link) sort rating desc @@ -27,7 +33,9 @@ sort rating desc # Podcast episodes ```dataview -table without id file.link as Podcast, published as Published +table without id + file.link as Podcast, + published as Published from #episodes where contains(guests,this.file.link) sort rating desc diff --git a/References/Paul Chambers.md b/References/Paul Chambers.md index eac5318..fe0449a 100644 --- a/References/Paul Chambers.md +++ b/References/Paul Chambers.md @@ -9,8 +9,12 @@ created: 2023-09-13 ## Albums ```dataview -table without id file.link as Album, artist as "Artist", rating as "Rating" -from #albums -where artist = this.file.link or contains(artist,this.file.link) +table without id + file.link as Album, + artist as Artist, + rating as Rating +where + contains(category,[[Albums]]) and + contains(artist,this.file.link) sort rating desc ``` \ No newline at end of file diff --git a/References/Steph Ango.md b/References/Steph Ango.md index 0beddd7..cfedee3 100644 --- a/References/Steph Ango.md +++ b/References/Steph Ango.md @@ -13,7 +13,8 @@ url: https://stephango.com/ ## Clippings ```dataview -table without id file.link as Title, published as Publish +table without id + file.link as Title, published as Publish where author = this.file.link or contains(author,this.file.link) sort rating desc ``` @@ -21,7 +22,8 @@ sort rating desc ## Meetings ```dataview -table without id file.link as Meeting, date as Date +table without id + file.link as Meeting, date as Date where contains(people,this.file.link) sort file.name desc ``` diff --git a/References/Well Made.md b/References/Well Made.md index ce76fc3..e18a602 100644 --- a/References/Well Made.md +++ b/References/Well Made.md @@ -10,8 +10,12 @@ tags: ## Episodes ```dataview -table without id link(file.link, "Ep. " + string(episode)) as Episode, guests as "Guest", rating as "Rating" -from #podcast and #episodes -where show = this.file.link +table without id + link(file.link, "Ep. " + string(episode)) as Episode, + guests as Guest, + rating as Rating +where + contains(category,[[Podcast episodes]]) and + contains(show,this.file.link) sort episode desc ``` \ No newline at end of file diff --git a/Templates/Actor Template.md b/Templates/Actor Template.md index a06698f..1fdf031 100644 --- a/Templates/Actor Template.md +++ b/Templates/Actor Template.md @@ -7,8 +7,12 @@ tags: ## Movies ```dataview -table without id file.link as Movie, year as "Year", ratingImdb as "Rating" -from #movies -where cast = this.file.link or contains(cast,this.file.link) -sort ratingImdb desc +table without id + file.link as Movie, + year as Year, + rating as Rating +where + contains(category,[[Movies]]) and + contains(cast,this.file.link) +sort rating desc ``` \ No newline at end of file diff --git a/Templates/Author Template.md b/Templates/Author Template.md index 414db67..d844d0c 100644 --- a/Templates/Author Template.md +++ b/Templates/Author Template.md @@ -7,7 +7,8 @@ tags: ## Books ```dataview -table without id file.link as Title, year as "Year", rating as "Rating" +table without id + file.link as Title, year as Year, rating as Rating from #books where author = this.file.link or contains(author,this.file.link) sort rating desc diff --git a/Templates/City Template.md b/Templates/City Template.md index 06cabb0..48d11db 100644 --- a/Templates/City Template.md +++ b/Templates/City Template.md @@ -33,7 +33,7 @@ coordinates: [[Madrid]] ``` ```dataview -table rating as "Rating", type as "Type" +table rating as Rating, type as "Type" from #places where contains(loc, this.file.link) sort rating desc diff --git a/Templates/Director Template.md b/Templates/Director Template.md index 5c34f56..5f1d9cb 100644 --- a/Templates/Director Template.md +++ b/Templates/Director Template.md @@ -9,8 +9,12 @@ created: {{date}} ## Movies ```dataview -table without id file.link as Movie, year as "Year", ratingImdb as "Rating" -from #movies -where director = this.file.link or contains(director,this.file.link) -sort ratingImdb desc +table without id + file.link as Movie, + year as Year, + rating as Rating +where + contains(category,[[Movies]]) and + contains(director,this.file.link) +sort rating desc ``` \ No newline at end of file diff --git a/Templates/Game Studio Template.md b/Templates/Game Studio Template.md index 0de2c71..6f51cb7 100644 --- a/Templates/Game Studio Template.md +++ b/Templates/Game Studio Template.md @@ -7,7 +7,7 @@ tags: ## Games ```dataview -table year as "Year", rating as "Rating" +table year as Year, rating as Rating from #games where maker = this.file.link or contains(maker,this.file.link) sort year desc diff --git a/Templates/Genre Template.md b/Templates/Genre Template.md new file mode 100644 index 0000000..c987249 --- /dev/null +++ b/Templates/Genre Template.md @@ -0,0 +1,12 @@ +--- +tags: + - genres +--- +```dataview +table without id + file.link as Title, + rating as "Rating" +where + contains(genre,this.file.link) +sort rating desc +``` \ No newline at end of file diff --git a/Templates/Meeting Type Template.md b/Templates/Meeting Type Template.md index 4530cde..f8c352d 100644 --- a/Templates/Meeting Type Template.md +++ b/Templates/Meeting Type Template.md @@ -5,7 +5,8 @@ tags: ```dataview -table without id file.link as Meeting, people as People, date as Date +table without id + file.link as Meeting, people as People, date as Date from #meetings or #dates where !contains(file.name,"Template") and contains(type,this.file.link) sort date desc diff --git a/Templates/Meetings List Template.md b/Templates/Meetings List Template.md index 1145317..3bba2b5 100644 --- a/Templates/Meetings List Template.md +++ b/Templates/Meetings List Template.md @@ -1,5 +1,6 @@ ```dataview -table without id file.link as Meeting, date as Date +table without id + file.link as Meeting, date as Date from [[Meetings]] where contains(people,this.file.link) sort date desc diff --git a/Templates/Movie Genre Template.md b/Templates/Movie Genre Template.md index 5530820..7d5ce40 100644 --- a/Templates/Movie Genre Template.md +++ b/Templates/Movie Genre Template.md @@ -3,8 +3,11 @@ tags: - movies/genres --- ```dataview -table ratingImdb as "Rating" -from #references -where genre = this.file.link or contains(genre,this.file.link) -sort ratingImdb desc +table without id + file.link as Movie, + rating as "Rating" +where + contains(category,[[Movies]]) and + contains(genre,this.file.link) +sort rating desc ``` \ No newline at end of file diff --git a/Templates/Music Genre Template.md b/Templates/Music Genre Template.md index 19e67cd..5c49942 100644 --- a/Templates/Music Genre Template.md +++ b/Templates/Music Genre Template.md @@ -4,8 +4,13 @@ tags: --- ```dataview -table without id file.link as Album, artist as "Artist", genre as "Genre", rating as "Rating" -from #albums -where genre = this.file.link or contains(genre,this.file.link) +table without id + file.link as Album, + artist as Artist, + genre as Genre, + rating as Rating +where + contains(category,[[Albums]]) and + contains(genre,this.file.link) sort rating desc ``` \ No newline at end of file diff --git a/Templates/Musician Template.md b/Templates/Musician Template.md index ba4a11d..5223b9e 100644 --- a/Templates/Musician Template.md +++ b/Templates/Musician Template.md @@ -8,8 +8,13 @@ created: {{date}} ## Albums ```dataview -table without id file.link as Album, artist as "Artist", rating as "Rating" -from #albums -where artist = this.file.link or contains(artist,this.file.link) +table without id + file.link as Album, + artist as Artist, + genre as Genre, + rating as Rating +where + contains(category,[[Albums]]) and + contains(artist,this.file.link) sort rating desc ``` \ No newline at end of file diff --git a/Templates/People Template.md b/Templates/People Template.md index 0e57cc9..8160436 100644 --- a/Templates/People Template.md +++ b/Templates/People Template.md @@ -10,8 +10,11 @@ created: {{date}} ## Meetings ```dataview -table without id file.link as Meeting, date as Date -from #meetings -where contains(people,this.file.link) +table without id + file.link as Meeting, + date as Date +where + contains(category,[[Meetings]]) and + contains(people,this.file.link) sort file.name desc ``` \ No newline at end of file diff --git a/Templates/People Type Template.md b/Templates/People Type Template.md index 6d71811..e4b5e20 100644 --- a/Templates/People Type Template.md +++ b/Templates/People Type Template.md @@ -3,8 +3,10 @@ tags: - people/types --- ```dataview -table without id file.link as Name -from #actors -where !contains(file.name,"Template") +table without id + file.link as Name +from #people +where + !contains(file.name,"Template") sort file.name asc ``` \ No newline at end of file diff --git a/Templates/Place Type Template.md b/Templates/Place Type Template.md index 7ed553a..ccd05f4 100644 --- a/Templates/Place Type Template.md +++ b/Templates/Place Type Template.md @@ -13,7 +13,11 @@ height: 50% ``` ```dataview -table without id file.link as Place, rating as "Rating", loc as "Location" +table without id + file.link as Place, + rating as Rating, + location as Location from #places -where contains(type, this.file.link) +where + contains(type, this.file.link) ``` \ No newline at end of file diff --git a/Templates/Podcast Template.md b/Templates/Podcast Template.md index c4608ce..7138c74 100644 --- a/Templates/Podcast Template.md +++ b/Templates/Podcast Template.md @@ -9,8 +9,12 @@ tags: ## Episodes ```dataview -table without id link(file.link, "Ep. " + string(episode)) as Episode, guests as "Guest", rating as "Rating" -from #podcast and #episodes -where show = this.file.link +table without id + link(file.link, "Ep. " + string(episode)) as Episode, + guests as Guest, + rating as Rating +where + contains(category,[[Podcast episodes]]) and + contains(show,this.file.link) sort episode desc ``` \ No newline at end of file diff --git a/Templates/Product Type Template.md b/Templates/Product Type Template.md index fe1055b..497f4da 100644 --- a/Templates/Product Type Template.md +++ b/Templates/Product Type Template.md @@ -3,7 +3,8 @@ tags: - products/types --- ```dataview -table without id file.link as Item, maker as "Maker", price as "Price", rating as "Rating", purchased as Purchased +table without id + file.link as Item, maker as "Maker", price as "Price", rating as Rating, purchased as Purchased from #products where type = this.file.link or contains(type,this.file.link) sort purchased desc, rating desc, file.mtime desc diff --git a/Templates/Video Game Genre Template.md b/Templates/Video Game Genre Template.md index f157026..2d73477 100644 --- a/Templates/Video Game Genre Template.md +++ b/Templates/Video Game Genre Template.md @@ -3,7 +3,7 @@ tags: - games/genres --- ```dataview -table maker as "Maker", year as "Year", rating as "Rating" +table maker as "Maker", year as Year, rating as Rating from #games where !contains(file.name, "Template") and contains(genre, this.file.link) sort rating desc