View Single Post
Old 07-31-2017, 02:39 AM   #1
rszasz
Member
rszasz began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jun 2010
Device: Kindle 4thGen
adding azw3 annotation support to kindle driver

The azw3's annotation sidecar seems fairly straight forward to deal with, so I'm going to make an attempt to extend the kindle driver's annotation fetching support.

The .han file is just a plaintext JSON container so I'll post the contents of one below. Hopefully the location numbers can just be used with the existing code and don't need conversion.


{"payload":{"key":"c848d0d0-af95-4ffb-8dfd-c505c468ab0b","type":"EBOK","records":[{"endPosition":"42844","startPosition":"42616","la stModificationTime":"2017-07-31 06:21:29.413","type":"kindle.highlight"},{"text":" test","endPosition":"42948","startPosition":"42942 ","lastModificationTime":"2017-07-31 06:21:29.413","type":"kindle.note"},{"lastModifica tionTime":"2017-07-31 06:21:29.413","type":"kindle.lpr","location":"4246 1"}],"guid":"Around_the_World_in_Eighty_Days:34B1AEF9" ,"acr":"Around_the_World_in_Eighty_Days:34B1AEF9"} ,"md5":"7c6c54fd763a1581def4750bc85bf2d3"}
rszasz is offline   Reply With Quote