hadynz / obsidian-kindle-plugin

Sync your Kindle notes and highlights directly into your Obsidian vault
MIT License
946 stars 52 forks source link

Doesn't recognize all books from "My clippings.txt" #220

Open PedroZolux opened 1 year ago

PedroZolux commented 1 year ago

Describe the bug

When syncing my books from the My clippings.txt file, the plugin does not recognize 2 of the 5 books. I checked the file "My clippings" and they are all there.

Method of syncing

To Reproduce

Steps to reproduce the behaviour:

  1. Go to '.Sinc your kindle highlights'
  2. Click on 'Sync'
  3. Choose Upload "My Clippings" files
  4. Click on 'Sync now'
  5. Select de file.
  6. Click on 'Sync'

Expected behaviour

It should recognize all the books in the file "My clippings.txt"

Screenshots

If applicable, add screenshots to help explain your problem.

Metadata

PedroZolux commented 1 year ago

image

I get this error, I noticed that the two books that the plugin does not recognize have a "/" and "," inside the author section.

image

hadynz commented 1 year ago

Thanks for raising this issue. It is a valid bug. The plugin's parser does not expect a / in the name. This is the first time that we run into such a scenario. Will plan to fix soon.