Quote:
Originally Posted by davidfor
Um, did you read the first post? There is a table in it that shows what is supported. It explicitly shows Kindles as a hardware device only.
Support for other devices and applications can be added (I'm in the process of adding support for the tolino devices). But, it needs the annotations to be accessible, understandable and for someone to have the time and skills to do it. I haven't looked at the way the annotations are stored in the Kindle applications, but I suspect they aren't in an easily extractable format.
|
FWIW they are actually super-easy to extract, at least for the MacOS version of the Kindle app (and I assume the Windows version uses the same file formats). For a given ebook B12345678_EBOK.azw in the Kindle "My Kindle Content" dir, if there are any highlights or annotations, those are stored in a corresponding B12345678_EBOK.mbp or B12345678_EBOK.mbpV2 file that is easily-parsable JSON:
Quote:
{
"startPosition" : 11205,
"metadata" : {
"mchl_color" : "orange"
},
"endPosition" : 11335,
"type" : "kindle.highlight"
},
{
"endPosition" : 1536,
"text" : "testing annotation",
"startPosition" : 1519,
"type" : "kindle.note"
},
{
"metadata" : {
"mchl_color" : "yellow"
},
"startPosition" : 1519,
"endPosition" : 1536,
"type" : "kindle.highlight"
},
|
I no longer use the Kindle app for reading, but when I did, I regularly extracted annotations from those files with no problem.
(Note that those files aren't created/updated until after you close the Kindle app, which caused me no end of confusion when I was first looking at this. Further adding to the confusion is the presence of .phl files for most books, which are XML files that appear to include info about highlights; those, it turns out, are "popular highlights" that other people have made in the same book.)