This is awesome. Thank You!
The Google Books environment has a much richer set of meta data. Downside is you’ve triggered my interest, I will not get much sleep tonight:)
Hello @JamesKF! Thank you for this exceptional piece of script; I must say, you’ve triggered my interest too, and I’m trying to implement it in my Vault.
Following the instructions, everything seems to be working fine, but when I run the scripts (after choosing title, autor, recommender and comment) this show up:
I’ve sent you a MP : we can try to solve it there, and I’ll update this thread once we’ve found a solution
Thanks
Update : Problem was solved, forgot to update here. To others it may help : load the script from QuickAdd (following instructions on the github page), not from templater.
Mmm, I don’t think we can get an excerpt with the Google Books API (you can look at all the available data in the Google Books API documentation here).
However, if you are interested, it’s possible to get a synopsis of the book, which I’ve not added yet.
For that, you just have to replace the following lines of the script :
// A short personal comment on the book.
comment
};
}
By the following lines :
// A short personal comment on the book.
comment,
// Synopsis of the book
synopsis: selectedBook.description
};
}
And in Obsidian, in your book template, get this value with {{VALUE:synopsis}}.