View Single Post
Old 10-22-2017, 10:55 AM   #433
dsestero
Enthusiast
dsestero began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
Quote:
Originally Posted by davidfor View Post
The non-matching is caused by the apostrophe. I didn't notice this before, but the apostrophe in the clippings file is a single straight quote. The one in the title of the book you sent is a "curly" apostrophe. You should be able to see the difference in my post above. This is in addition to the "(Italian Edition)" not matching.
Correct!

Quote:
Originally Posted by davidfor View Post
That is a real pain that I hadn't thought about. I might try "dumbing down" the titles before matching them. If I convert them to lower case and to plain ASCII, it should improve the matching. That would be doing the what calibre does when generating file names from title, plus the lower case.
It sounds to me like a very good idea!

Quote:
Originally Posted by davidfor View Post
But, for curiosity, could you add an annotation to the book now on you Kindle? I'd like to know what is used in the clipping file. I can see some accented letters in the log, but I would like to know exactly what the device uses before going ahead.
OK. I did another annotation that you can see below, but please consider that it is the same as the previous ones because that book was never sent to the device from Calibre but only downloaded from Amazon:
Quote:
Lettera d'amore alla Madre Terra (Italian Edition) (Nhat Hanh, Thich)
- La tua evidenziazione alla posizione 265-268 | Aggiunto in data domenica 22 ottobre 2017 16:27:40

assaporare ogni respiro. Contiene azoto, ossigeno e idrogeno, così come altri oligoelementi, quindi ogni respiro che incameriamo e buttiamo fuori racchiude la Terra. Con ognuno di essi ci viene ricordato che facciamo parte di questo bellissimo pianeta che dà la vita.
==========
Furthermore, I tried to change one annotation in the MyClippings file replacing the straight quote with the curly apostrophe and, even without changing the metadata in the Calibre library (where in the title there is the straight quote), the plugin matched the annotation, as you can see in the attached screenshot!

Quote:
Originally Posted by davidfor View Post
Also, if this looks like it will take a bit of time, I will probably release the plugin as is and then fix this later. I think were the plugin is now, it is working better than the current release version. And gets the translations out to anyone who wants to use them.
Of course, it is much much better and functional now; thanks a lot for all the work!

Ciao,
Dario
Attached Thumbnails
Click image for larger version

Name:	screenshot-annotations.png
Views:	648
Size:	245.0 KB
ID:	159596  
dsestero is offline   Reply With Quote