Replies: 13 comments 21 replies
-
The most intuitive & easy thing for me would be that resync overwrites no matter what, if the file is in the same folder it was in initially. But I use folders more than other people and tend to move files out of the "extractions" folder I use for zotero and kindle highlights/annotations extraction once I've finalized my formatting. Probably don't do this, heh. The second option is to append the new "version" at the bottom with a header that says something like "added on x date" with bonus points if it detects which things are new highlights/annotations and appends only things that are different (such as if there was a change to the template). But that's probably a lot more complicated. Caveat: currently I'm paranoid and personally delete or rename and move any sync'd files I care about before a resync, and only edit the files after I've finalized reading it. The second option where I could trust the diffing would be really nice! |
Beta Was this translation helpful? Give feedback.
-
I actually prefer the current crude method fwiw |
Beta Was this translation helpful? Give feedback.
-
It would be nice if on re-sync if any new notes or highlights were found (maybe using the location) in the kindle book, it would then be added to the end of the MD note. If we are syncing then we have access to revisions. I do like what @eleanorkonik said about adding date added when the new notes or highlights are added. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to add the books that have been synced to the plugin settings panel? Or maybe in a pop-up when the sidebar icon is clicked? Then include an option to re-sync an individual book, a list of books or all books? Perhaps also allow the user to specify if notes should be overwritten with new changes or appended to existing notes? My personal opinion is that I'm fine with the crude method of overwriting the contents of existing notes. I'd imagine this would also be easier to implement and quicker to process as you wouldn't need to check if the highlight already exists in the note. I guess the simplest way would be @eleanorkonik suggestion to store the time of last sync and then append anything new since that time? |
Beta Was this translation helpful? Give feedback.
-
As for me, I think the current method is straight forward. When I finished a book, I sync all the note and highlights of that book. However if I am reading several books in the meantime, then I can't guarantee the plugins got all the highlights of the books which have been synced. So it may be confused sometime. Also if a e- book file in kindle is very large, like a series book (Harry Porter vol. 1-7), I may want to sync the highlights while I am still reading that book. Because I want to use obsidian to add more linked- note to the highlights. For example, I might highlight the description of a wand which I am interesting. And I will link a web- page Wand Woods |
Beta Was this translation helpful? Give feedback.
-
@hadynz, thank you for this plugin. It's already been so helpful to me! While the crude method is already so useful to me, I would benefit from having an incremental resync. I often add new highlights and notes when I reread a book and it'd be nice to pull those in without losing the links and tags that I added to my existing imports. I made a Kindle to Evernote importer a while back before I discovered Obsidian (Obsidian + your plugin is so much better!!) A few things I discovered:
One other idea I had that I couldn't use in Evernote, but might work here, is if a resync will change the existing file, you could instead do the resync to a different file next to the original, so if the original sync was "Escaping the Build Trap", the next iteration would be something like "Escaping the Build Trap (2021-05-28)". Then I could just use a diff tool to merge the differences how I like. That might not be a great option for non-devs though. |
Beta Was this translation helpful? Give feedback.
-
This is a great plugin -- thanks for working on this. In my case the current behavior is problematic, as I want to be able to write my own notes on Obsidian, referencing book highlights, before I finished reading the entire book. It would be much better for me if new highlights could be appended to the note. I appreciate there is a problem with blocks that have been annotated by users. I suggest a two-fold solutions:
+1 to @owenvachell 's suggestion of having per-book sync'ing as well |
Beta Was this translation helpful? Give feedback.
-
I've been playing with the plug-in and have run into many of the same issues as described here. I really want a way to only sync books whose annotations have changes. Given the discussions above I really don't know how best to do it but here is my problem. I have about 1200 books in kindle format. I already have the issue that any books not bought through Amazon do not put any highlights into their cloud service so there is now way to sync them at all and it's nearly impossible to extract them into any usable format. Problem number 2 is that I do all my kindle reading on an iPad in the Kindle App so there is no clippings file so I can't extract out the clippings from any of those books. That already takes the kindle book population down to about 800 or so. But since the plug-in syncs all of them every time it's slow and I end up with hundreds of duplicates. My use for the highlights is that I want them to come in with complete bibliographic information into my "inbox" folder initially. Then as I process them I make notes in between the highlight references, some were made as notes as I read the book and some are when I review the books. When I think I am done (at least for this iteration) I move the book note into the folder that contains my references and sources. So the initial location that is created upon sync is not the final location where the notes will live. I want all my annotations and quoted sections in a single note in Obsidian that I can link to. Plus I typically have about 10-15 books I am reading at any given time and if I need to get the most current highlights everything gets re-synced again. When I re-read a book or go back to it to look up something I may make more highlights or notes or annotations on a book that has already been synced. But I don't want the new version to overwrite what I have in my vault that has been expanded to include my own thoughts. I could live with a sync that assumes no personal notes or additions are being added within Obsidian but it's not my preference. I'd really prefer some sort of combination of a smart sync that will only add new things to an existing note if there is one and that won't re-sync if there are no changes but will catch entirely new books and also not overwrite anything I've added to my notes and handle new notes in one place and looking for existing notes in another. To throw another wrink;le into the mess I'd also like a way to define what the note title is according to a template similar to the way I can define how the files are renamed in Zotero. In my case right now I'm using this as my template Book-authorlastname-title with all spaces replaced by _ characters-kindle I add the format of the book at the end because I am also collecting into Obsidian the notes and annotations that I have about paper books and the annotations I do when I am reading scientific papers that are in my Zotero system. Right now my book bibliography is in BookPedia. It can create a BibTex file but there is no way to automatically keep it updated that I can see. Im still playing with all of that. Ideally it would be similar to how Zotero works with Obsidian. The whole combining of my references and sources system in with Obsidaian notes on the various things I am researching or want torefer to is in flux but adding a way to get Amazon kindle highlights into Obsidian is a great addition. |
Beta Was this translation helpful? Give feedback.
-
I would like to use this plugin as an integral part of my Obsidian PKM and research tool. The best way I can think of doing this is to be able to link individual word/phrases in the generated notes extracted from Kindle to MOC - or currently "under-construction evergreen notes." I am returning to review a book I last read about a dozen years ago due to a new piece I am currently reading (I had missed the importance of a piece in the first book and went back to highlight it in Kindle) but am unable to get that entry to sync with your plugin. I do not want to delete the existing entry from your plugin as it would result in loss of all that work. If the added functionality is possible by appending (better would be inserting just after the Kindle link line before the first entry in existing file) your plugin would revolutionize my ongoing refinement of my cybernetics research. Thanks for the work you've done so far ! ps. as a kluge I am going to try copying the existing generated entry from its existing location and then resyncing and since I still remember the few new entries I just made in Kindle I'll be able to highlight just those new ones in the new download at "cost" of having near duplicate entries for the book. Not pretty but workable in a pinch. |
Beta Was this translation helpful? Give feedback.
-
I wouldn’t be against the system creating a new note with a date stamp at the end of the file name that contained all of the highlights of the previous note along with any new ones. Users could then delete the older note. Seems like it might be a simple short term solution that would at least move things forward a bit by requiring less fiddling from users to get new highlights from a book into obsidian. |
Beta Was this translation helpful? Give feedback.
-
As a keen user of this fantastic plug in, I have been following this thread with great interest. For the plug in to work for me, it needs to be able to update highlights when I am reading a book and highlight further down in the text. I don't mind what solution is chosen, just so long as this option becomes available. I am debating whether to pay for Readwise to achieve this, but would much prefer your plug in. Is there any hope of this being implemented in the near future? Thanks again for this great plug in. |
Beta Was this translation helpful? Give feedback.
-
I think it would be very helpful if you could select the book to import highlights from, then select which chapter to import. That way, if each chapter is treated separately, perhaps it would be able to consider a newly highlighted chapter as not previously synced so that a re-sync would pick up the new highlights. I don't want to have to delete my previous notes in order to get new highlights and I often only use select chapters, then may go back and use other chapters later. I edit by chapter and I don't want my previous notes to be changed if I re-sync. Thank you for considering my ideas. |
Beta Was this translation helpful? Give feedback.
-
Thank you all for your patience on this issue being resolved. 3 weeks and 65 files later, I am happy to share with you that this feature has finally been implemented and shipped as of yesterday. Please try out v1.0.x and let me know what you think of how it works. It should work for anyone trying to sync from their My Clippings file or from Amazon cloud. This solution works by introducing a breaking change to how files used to be synced before. To get resyncing working, I had to make two key changes: FrontmatterThe plugin needs to keep track of "state" information after a sync takes place. To devise a portable solution that works on any machine you use Obsidian for, I opted to add syncing state as frontmatter to every book that you sync. It looks something like this:
This state information, and primarily Block referencesRunning with @joelbeckham's idea, every highlight will always be prefixed with a block reference that contains a unique reference for a highlight by "hashing" its content. This was required so the plugin can (a) determine what highlights have not been synced yet and (b) where to insert new highlights in the file. The combination of the above two changes allows the plugin now to intelligently figure out what highlights to sync and to also insert it in the right order in your file, irrelevant of any other changes that you've already made to the file. This should support workflows like progressive summarization were you need to bold and highlight annotations that you've made in file. Breaking change: With all of this said, the above two changes does mean that I have introduced a breaking change that will require all users to resync all their annotations again as a one-off step. Would love to hear your feedback and if this change has unlocked your workflows. Cheers |
Beta Was this translation helpful? Give feedback.
-
In the interest of putting out a MVP that proves the value of this plugin, I implemented a simple and crude manner for resync. If a book has been resycned before, the plugin will never overwrite or modify this file even if new highlights have been detected.
This ensures that any changes to your files are always preserved.
But it does mean that you will not get any new highlights syncing... unless, you manually delete the file yourself and run the sync again.
This current behaviour is not necessarily intuitive for many users. So I am keen to get feedback on how you would expect resync to work.
Beta Was this translation helpful? Give feedback.
All reactions