Hello,
Is there a way to pass the offsets that Kindle uses for exported annotations as a CLI parameter to ebook-viewer, so that it opens at a given annotation?
I use Kindle Paperwhite + Calibre as a tool to upload books in azw3 format. I just leant that the annotations I make, while using Kindle, are stored in a separate file with
azw3r extension and can be extracted from it.
I successfully used 2 methods:
The annotations are in a format
Code:
OFFSET_START OFFSET_END Note: 'annotation text'
e.g.
Code:
309905 309906 Note: 'my annotation'
565577 565581 Note: 'my second annotation'
I was super excited to discover that ebook-viewer supports
--open-at parameter but I can't seem to find the format used by Amazon.
I'm not sure what exactly the offset represents. Maybe it could be converted to epubcfi somehow? Maybe there's another notation of the open-at argument that I should use.
I would like to store the notes outside of Kindle or Calibre and use deep-linking to the Calibre viewer.
Thank you in advance