Quote:
Originally Posted by franklekens
That's what I suspected. A pity no one has written a simple editor or extraction programme yet that convert the annot-files into something more easily usable for the average reader.
It's beyond my abilities. I've just had a look at the xml in Editpad. I thought basically deleting all text between </text> and <text> would serve my purposes -- but my knowledge of regular expressions is so limited I can't even manage that (i.e. remove each string of </text><anything in between><text>).
By the way, I'm pretty sure the fetch annotation command left me with only part of the highlights for one book in the comments field. I compared it with the annot file, and the highlights missing in Calibre really were there in the file.
|
It is possible there was an inconsistency between the annot file and what is in the devices database. Fetch annotations is reading the database, not the files. There are bugs related to this, but, I didn't think they caused any data loss.
There are some other ways to get the annotations off the device. My utilities plugin will get the annotations for selected books as text. But, it uses the same code as the fetch annotations. Someone, tshering I think, has written a little utility to fetch them. And I'm pretty sure someone has posted a script to do it as well.