View Single Post
Old 12-03-2019, 09:00 AM   #11
paulat
Junior Member
paulat began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2015
Device: Kindle Voyage
Quote:
Originally Posted by j.p.s View Post
Have you tried the perl version azw3r.pl? That doesn't require compiling and also somewhat obsoletes the C version since it is more robust.
Hi thanks I have tried it however the result is not quite what's in my mind. I did somehow work out a solution on my own though.

If anyone else has the same needs: I used johwell's script to get the highlight json file, then used it as an index to extract highlight text from the "My Clippings.txt" file by matching the time of creation of the highlight (there seems to be 1-2 seconds offset in some cases). Since "My Clippings.txt" is guaranteed a superset of the azw3r file, it worked out perfectly! (The original reason that I don't use "My Clippings.txt" directly is that it contains redundant highlights, which for example were deleted from the book.)

Last edited by paulat; 12-03-2019 at 09:03 AM.
paulat is offline   Reply With Quote