View Single Post
Old 06-22-2015, 04:26 AM   #1152
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,201
Karma: 317184274
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by kyzcreig View Post
So I've been working on a script for this and I'm finding the offsets are all off. It doesn't appear to be a constant offset so my guess is that this raw HTML somehow doesn't correspond to the location data. Is that likely to happen?
No idea. Are you certain you're looking at the RAWML, before it's processed to change links to proper HTML?

Or perhaps locations are calculated off some derivation of the RAWML. Or you're looking at different versions of the book. (Some devices will receive the KF8 version (if available) and some will receive the MOBI version.)

I suspect you'll need to dig into the details of formats and how they're interpreted to be able to make sense of this. And even then, Amazon locations may have some other fiddle-factor applied to them. Perhaps they only relate to visible displayed characters or something?
pdurrant is offline   Reply With Quote