dataview
TABLE WITHOUT ID
(“![cover|80](” + cover + “)”) as Cover,
link AS Title,
author AS “Author”,
datelecture AS “Date read”,
rating AS “Rating”
WHERE file.name = this.file.name
Metadata
type :: #Books
link :: [[B-appr-a-tradu-cahi_www_livrebank.pdf|Learn to translate]]
author :: [[Valentine Watson Rodger]]
dateread :: 2023-08-24
topics ::
rating :: XXXXX
cover :: http://books.google.com/books/content?id=pkUM1fgN05AC&printsec=frontcover&img=1&zoom=1&edge=curl&source=gbs_api
Thank you for your reply and your ZIP.
I can’t do it. If I understand correctly, I need to insert several METAs depending on the book I want to appear.
I’m sending you my syntax for correction. If you could send me yours.
Thank you for your help.
I also can’t figure out how to insert the book cover and where to find it.
TABLE WITHOUT ID
("![cover|80](" + cover + ")") as Cover,
link AS Title,
author AS "Author",
dateread AS "Date Read",
rating AS "Rating"
WHERE type = "Books"
In your last Metadata you have a space between the colons dateread: :
I don’t use double colons in my frontmatter, but I just tested it and the space seems to break it.
Also in your last example you have three open square brackets cover::[[[
Could you send a screenshot of your note?
Because frontmatter generally needs to be framed by ---, e.g.
---
Titre:
author:
dateread:
---
I see in that example that there is a # title before the first --- but I can’t get that to work.
Maybe try removing the stuff before the actual metadata.
And finally, I’m not sure if I’m understanding your original post, but you have to have each of these books in their own note. I don’t think it works if you have multiple metadata blocks in one note, but that might be wrong. Either way, I find it easier to have each book have their own note.
Maybe you could try that?
Hope this helps
Edit: I just remembered I uploaded a sample book vault a while ago. If you’re unfamiliar with Github, it might be easier to download it and look at it in Obsidian, but you can also look at it online. It could just give you an idea of what is possible.
OK…thank you for your answers. I’m making slow progress…but now I’ve ended up with 12 books…and yet I’ve copied in extenso the Dataview and METAS that you kindly sent me.
TABLE WITHOUT ID
("![cover|80](" + cover + ")") as Cover,
lien AS Title,
author AS "Author",
dateread AS "Date Read",
rating AS "Rating"
WHERE type = "#Books"
Here my complet template:```dataview
TABLE WITHOUT ID
(“![cover|80](” + cover + “)”) as Cover,
lien AS Title,
author AS “Author”,
dateread AS “Date Read”,
rating AS “Rating”
WHERE type = “#Books”
- type:: #Books
- titre:: Parler anglais en 5 minutes par jour
- lien:: [[Parler anglais en 5 minutes par jour]]
- author:: [[Julie Frédérique]]
- dateread:: 2023-08-24
- rating:: ⭐️⭐️⭐️⭐️
- cover:: https://m.media-amazon.com/images/I/713HclWkjYL._AC_UF350,350_QL50_.jpg
- link:: [[obsidian://open?vault=CULTURE_15082023&file=0.%20Inbox%2FB-LISTE%20DE%20MES%20LIVRES%20D'ANGLAIS_24082023%2FB-Parler_anglais_en_5_minutes_par_jour__c_est_malin.pdf|Parler anglais en 5 minutes par jour]]
- type:: #Books
- titre:: Scientific and Technical Translation
- lien:: [[Scientific and technical Translation]]
- author:: Maeve Olohan
- dateread:: 2023-08-27
- rating:: ⭐️⭐️
- cover:: https://books.google.com/books/content?id=I-OPCgAAQBAJ&w=126&img=1&printsec=frontcover
- link:: [[sans PDF|{{title}}]
-
- type:: #Books
- titre:: Apprendre à traduire
- lien:: [[B-appr-a-tradu-cahi_www_livrebank.pdf|Apprendre à traduire]]
- author:: [[Valentine Watson Rodger]]
- dateread:: 2023-08-24
- rating:: ⭐️⭐️⭐️⭐️
- cover:: http://books.google.com/books/content?id=pkUM1fgN05AC&printsec=frontcover&img=1&zoom=1&edge=curl&source=gbs_api
- link:: [[B-appr-a-tradu-cahi_www_livrebank.pdf|Apprendre à traduire]]