michabrugger / booksidian_plugin Goto Github PK
View Code? Open in Web Editor NEWA plugin to connect your Goodreads shelves to your Obsidian vault.
License: MIT License
A plugin to connect your Goodreads shelves to your Obsidian vault.
License: MIT License
Attempting to Sync to run everything. It sends up a hot key is not set yet. I've set a hotkey and all other settings appear to be correct and in proper format. I'm pointing to a specific folder not the default. I'm unable to run the plugin.
I have spent a couple of hours bringing in books and I have noticed that there is regularly a problem with the published date.
For instance the current book shows this in GoodReads: Published May 18th 2017 by HarperCollins (first published May 9th 2017)
But the date produced is: 2017-01-01
The generated YAML shown below is invalid:
---
author: James S.A. Corey
title: Leviathan Wakes
series: Expanse, #1
---
The issue is with the series
field as the # needs to be quoted to be valid YAML. One simple solution might be to quote all values in getFrontmatterLines
, or make the default prefix
and suffix
quotes.
In the section Body, you can write a body for the file that will be created.
It could be interesting to enable the possibility of usage of a template too.
I have been using the link to the original page within the Content of the book-note section. Is there anyway to add this to the properties instead. As the field is available ie {{id}} I would imagine it would not be too complicated to add it to the 18 existing fields.
I am currently manually moving it from the note to the Property but it would be great if it could arrive in the right place. Thanks
Hello. First of all, thank you for this great plugin. The plugin works just fine. However, I would like to share with you a problem I encountered. I am using "templater" and "dataview" plugin in "content of the book note" section. Here is the content I entered in this section:
{{title}}
yazar:: #<% tp.frontmatter.author %>
kategori:: #<% tp.frontmatter.shelves %>table without id ("![|250](" + cover +")") as Cover, yazar as Yazar, rating as Rating_My, avgRating as Rating_G, kategori as Kategori from "<% tp.file.folder(true) %>/<% tp.file.title %>" where cover != null sort rating desc
My goal is to show in a table information such as the cover illustration of the relevant book, my own rating, the rating and category of the Goodreads community.
The Templater plugin codes I use here work exactly as I want. However, an interesting problem arises if I run the "trigger" feature in the Templater plugin settings. The book information on my list is getting mixed up.
For example, let's say I'm pulling information from a science fiction shelf. I have books A, B, C, D... on my Sci-Fi Shelf. I'm importing into my obsidian vault with the Booksidian plugin. If the Templater trigger is not turned on, I go into each book file on my shelf and run the templater codes manually. No problem.
But if you have 50 books on your shelf, you have to repeat this 50 times.
In this case, the Templater trigger feature is a great solution. However, as I mentioned above, the information is mixed. For example, A book cover picture B is B cover C, D or someone else.
I'm not a professional expert, but I think things get messy when fetching cover images from the internet. It would be great if a method could be found to fix this problem.
I'm very new to Github. I hope I wrote it in the right place.
Hi!
In goodreads, I am on the page that only shows my "read" books, and I am copying that RSS field. I also have the plugin to sync the "Read" folder, but for some reason, books I'm currently reading are showing up as well ... ? Thank you!!!
The {{cover}} attribute is no longer being parsed correctly by Obsidian. Maybe it's a result of recent changes to Obsidian?
I get this:
![Cover](https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1675653942l/60766189._SY475_.jpg)
Instead of this:
![Cover](https://images-na.ssl-images-amazon.com/images/S/compressed.photo.goodreads.com/books/1675653942i/60766189.jpg)
Hello @MichaBrugger ! Thanks for the great work on this plugin.
If you're still around and interested in getting some help with it, I have a few features I've implemented on a personal fork: zacharyw@717db15
I actually forked off of @riccardopinto 's open PR to pick up their filename fixes. Initially I was just going to make some changes for personal use but I'd like to get them into the main plugin if possible.
Hey man, I love this plugin!
I'm very lazy and I'd love for the plot to be an option too. Is this possible?
Also I noticed that pages was not in the available fields(/placeholders) but it is possible to call it (It works when I sync) and i also saw u wrote code for it. Maybe add it so people don't miss it?
Error says that the Main.js is missing.
I am having problems again with syncing. I have made no changed at the Obsidian end. All I am doing is going through my GoodReads Books and adding to-obsidian (which is my import folder) to small collections. The biggest has been about 12 books. I'm finding it will do a batch. Then when I try to do the next - maybe ten mins later approximately. When I go to sync nothing happens.
I don't know if this is the plugin or does it take a while for the Goodreads RSS to know that a new shelf has been added at their end?
Update: I tested this out and changed my sync shelf to a long established shelf with three books on and that worked. I don't know how long would be best to leave it between adding the shelf and doing the sync? Thanks
If the book has a character, that is not supported by the filesystem for files (typically ? : * / \ " |
), the file is never created if it should appear in the file name.
For example if I have in the shelve this book: https://www.goodreads.com/book/show/21413662-what-if-serious-scientific-answers-to-absurd-hypothetical-questions and want to have the file named {{title}}
, it is never downloaded.
I suggest create a setting (with default to -
), for character to replace these special ones, so the file can be created.
Thank you!
I was just thinking it would be really helpful if there was a way to add a link back to the Goodreads page from your book note, A link within the page would be better than in the Yaml so you can click straight through.
I don't know if that would be too complicated though...
When I add a book to an additional shelve on Goodreads, the Obsidian file is not updated, even as the RSS feed shows the additional shelve.
This is my template I have set up:
`# {{title}}
Subtitle:: {{subtitle}}
series {{series}}
🏷 Tags
When syncing notes from my feed, some notes come through with the correct bookshelves but others come with additional bookshelves that they are not a part of on my goodreads. I have my goodreads shelf set up as an exclusive shelf so that 'read' or 'to-read' should not apply to any of those books, yet when I sync them to Obsidian they include 'to-read'.
It happens whether the book is on an exclusive shelf, and it even happens when changing the books to the 'read' shelf on Goodreads.
Add this little pop-up indicator in the top right corner whenever a new book is added.
I have left my Obsidian settings to just import my currently-reading shelf which has five books in it. However, when I sync'd it there were several imported including to-read shelves and read books. There is a good chance I will want to import all my books but into different areas of my vault depending on the theme etc
.
Currently not supported (see #2), will be added with the next patch
When i sync all books, to an empty folder, the field for shelves populates correctly for the shelves: to-read, and currently-reading, but is left blank for all books in the read shelf.
It seems that Booksidian discards punctuation marks when importing titles from the feed. This causes the creation of a duplicate note with a similar title to one already created some time ago. To explain further, I now have two notes with similar titles. One is entitled (in Italian) 'Detto, fatto! L'arte di fare bene le cose", imported months ago. Now, if I synchronise my feed, a new note is created 'Detto fatto! Larte di fare bene le cose', without a comma and without an apostrophe. This also happens with other books.
Everything looks great except it won't load the book cover images. It's just showing the link. What am I doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.