Quote:
Originally Posted by stumped
There are actually 2 files per book , the other one looks gibberish in notepad but I think it holds annotations and highlights
|
The .an file does indeed contain annotations. To read it, you need to zlib-decompress it. It is raw zlib, so you need to add back the "magic number" as per
https://unix.stackexchange.com/a/49066
e.g.
Code:
$ printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" |cat - ~/Dropbox/Apps/Books/.Moon+/Cache/Beyond\ Common\ Ground\ -\ Alden\ Thompson.epub.an |gzip -dc
Further reverse-engineering will be needed if we want to do something with this. But some of the numbers contained within it are bound to correspond to the position information I reverse-engineered from the .po files in my prior post.