I am not able to sync my clippings into the Obsidian. I am using Clippings file to sync my clippings here. It keeps on asking for file to upload and shows message “starting sync”.
Details of my system-
Obsidian version- v0.12.3
Pluggin version- v0.2.8

Hi, Hadynz, thanks for your help. I’ve sent you my MyClippings file. The second time I tried, there was a message that said “Error loading the file”. I think maybe it has to do with the size of the file? Because I tried reducing the number of quotes to only three books and it worked fine.

It works quite good!!! Thanks a lot!!

I’ve had several requests from users asking for this plugin to work on mobile too.

Does anyone know what is the best way to contact or to speak to someone from the Obsidian development team? The key question that I need to unpack with them is if they provided any options for plugins that have a dependency on electron. Because this plugin works via screen scraping, it spins up a BrowserWindow for login and to load books for scraping.

Any help or direction from other devs or supporters would be appreciated.

Hello @hadynz

Thank you for a great plugin idea. Unfortunately I haven’t been able to sync my highlights to obsidian. I’m using the local sync option - to upload the MyClippings.txt file. However, each time I select the file, nothing happens. The statusbar just displays “Starting sync”.

I see several other users have experienced the same thing, so could you please look into this bug?

This plugin is awesome. One issue I noticed, and this isn’t a problem with the plugin, has to do with the export restrictions. I have notes from a book that show up as blank. I’m assuming this has to do with the export restrictions by Kindle. Any ideas of an easy way to work around this? If I delete highlights from the book itself, will it delete them in the file created or will the sync then pick up the new highlights?

Hi, @jazavchar. I was having the same problem as you and I even sent Hady my MyClippings.txt file so that he could help me identify the problem. Two days ago, he wrote me telling me that the latest plugin update (v0.2.13) should work. I’ve just updated my plugin and it worked perfectly, uploading more than 90 books. It took a little time after selecting my file but I could see the popup window changing. So my advise would be to check if you have the latest update and try again.

Thanks for your input. Yes, I’ve been using the v0.2.13 version from the start because I just found out about this great plugin idea and was ecstatic. It still doesn’t work, and I definitely have less books than you (it’s also a new kindle for me).

Hopefully Hady sees this and manages to resolve it in the next few updates…

I managed to track down my problem: one of the books had the author alias in another set of parenthesis like so: Author Name (Alias). This was throwing the plugin for a loop.

Hopes this helps to make a fix in the next version of the plugin.

This was a bug in the plugin. Should be fixed now. Plugin is now able to parse a My Clippings.txt file in any language. Previously it was configured for just 3-4 languages.

This is the first I’ve heard of this issue. I don’t quite understand what the problem is and what the solution that you used to make it work.

Are you able to create an issue for this on Github or just describe this in much more detail here?

To fix this issue, I will need to recreate it before fixing it.

@hadynz I am new to writing the code that the plug-in uses. Can you show me how and where to indicate the color of the highlight.

{% for highlight in highlights %}
---
{{highlight.text}} — Page: [{{highlight.page}}]({{highlight.appLink}})
{%- if highlight.note %}{{highlight.note}}{% endif %}
{% endfor %}

@hadynz cool plugin! Would it be possible to make the note title customisable? I’d like to prepend them with "Highlights from: " :grinning_face_with_smiling_eyes:

Keep up the good work!

I really appreciate that you made this. I’ve been trying to achieve something that could transcribe my Kindle Highlights automatically for a long time, and I’ve managed to learn enough Nunjucks to style my highlights based upon color and link each one to the location in the Kindle App. Very cool!

One difficulty I’ve ran into is that I’ve been trying to create a parent Nunjucks HTML template that I can extend styles from in order to limit the amount of code in the add-on itself. However it won’t save with any {% extends "parent.html" %} call. I even attempted to put this in JSON format so that it’s interpreted correctly by data.js, but can’t get it to work. I’d love if the plugin allowed for this type of functionality.

Maybe a “grab limit” option - by example “synch only your first book” - would be interesting. Often we try different templates/formats for the exportation to Obsidian, and it’s a waste of time & resources to launch the whole sync as @anon27868835 says. Or another idea: creating a button to stop the synch. Thanks for your great work.

My solution was to switch to Readwise.io and their “Official Readwise Plugin”. Kindle and other sources sync perfectly, with tags and metadata that I’ve chosen. Much better product.

Thank you for this plugin. It is working well for me except for one thing: on some highlights, the text gets truncated. It seems very random when it occurs, and is not related to the length of the highlight. Is there something you know of that is causing this so that I don’t have to go back in and type everything that is missing? Thank you.

Thank you for this plugin. It is working well for me except for one thing: on some highlights, the text gets truncated. It seems very random when it occurs, and is not related to the length of the highlight. Is there something you know of that is causing this so that I don’t have to go back in and type everything that is missing? Thank you.

Truncated highlights are often appearing in Readwise too. So probably the issue is not caused by this plugin. I wonder if it’s due to the Kindle side. I don’t know the reason why truncated highlights are shown.

1 Like

My solution was to switch to Readwise.io and their “Official Readwise Plugin”. Kindle and other sources sync perfectly, with tags and metadata that I’ve chosen. Much better product.

Readwise.io is an excellent tool, you can choose which book/s are going to be synced. In my particular case and workflow, I prefer creating my tags directly on Obsidian. Each app is designed for different workflows and has its own fans.

On the other hand, this plugin gets the book’s ASIN and Amazon URL. There are also other interesting template variables - like: publisher, pages, publication and highlight.color - theoretically available.

I made some tests using this plugin (cloud’s way), however I’m still unable to retrieve some of them like: publisher, pages and highlight.color. Probably I’m doing something wrong.

1 Like

I’ve just installed this, and it looks wonderfully promising! I’m also using the Zotero integrations through MDNotes, and I’m trying to figure out a way to usefully crosslink or share notes from a book where I have it in Zotero (for good bibliography/Bibtex reasons) and in Kindle (for the text). Ideally, I’d like to be able to use in-text citations that I can put into latex, whether the item has come from a Kindle or Zotero, and see notes/highlights related to it.

So this is thinking out loud, but:

  • At the moment, all of my paper notes are in files named after their cite key, so links typically look like [[@kelvin2022TemperatureProblems]]. If I could get the Kindle plugin to use something like a citekey for the filenames, that would be a good step - then I could manually check that the citekey in Zotero matches, and I could cite the item whichever way it has been made
  • Alternatively, I could keep the Kindle books separate, still with filenames from the title, but add a ‘hopeful transclusion’ to all the literature notes I make about books, that would include the highlights from the Kindle if present.
  • I could even go as far as adding a highlights tag to the Kindle template, so I can transclude e.g. ![[Books/Book Title#^highlights]] in all of the literature notes.

Any thoughts? Or any alternative approaches?