![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
userannotlog
Hi,
I would like to to extract information from userannotlog coming from my kindle. Do you know if somebody do this before ? With a script or perhaps with Calibre ? |
![]() |
![]() |
![]() |
#2 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Moved to the dev forum.
|
![]() |
![]() |
![]() |
#3 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
sorry Harry, for this mistake.
userannotlog is used by amazon to collect informations about your reading, which book you read, which day you read it, how many time you spend to read this book, etc. I want to do the same, an historical of my reading. |
![]() |
![]() |
![]() |
#4 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
For the K4 listed in your info block on the left? Most of our developers are on: "Summer Holiday from Kindle Hacking" - It may be a few days before someone has time to look at your request. |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
Yes this is for my kindle 4NT.
You will find a part of my userannotlog. it seems that it is xml format, I think. I will try to open with excel and see what is workable. PHP Code:
Last edited by druss67; 07-28-2013 at 12:10 PM. |
![]() |
![]() |
![]() |
#6 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If you make any headway on decoding the value of that "state" variable, let us know.
That one looks like it may be a lot of fun. PS: Is this a book side-loaded by Caliber? |
![]() |
![]() |
![]() |
#7 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It's clearer for KF8 files, state is the position, in hex.
For M7, pos is also in the state var, among unknown other things: it's the 8 bytes near the middle that change the most. FWIW, for the book entry, key is the ASIN, as usual, type the cdeType, and guid is the PDB name:id Last edited by NiLuJe; 07-28-2013 at 01:30 PM. |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
@knc1;
this file is available in your kindle here : Kindle/system/userannotlog see attachment. |
![]() |
![]() |
![]() |
#9 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
In fact I would like, to have a kind of historical/statistics like this : the book named “the Hobbit” have been read from 01/07/2013 to 25/07/2013 in 65hours.
In an excel file or the best will be an integration into Calibre. |
![]() |
![]() |
![]() |
#11 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Hmm... An accumulation of the reading time per book; Plus the start and the end time. Since that is not reporting anything that would show (directly) that a person was reading more than one book at a time - - Perhaps include a count of the "reading sessions" ? Think of that for a moment... Otherwise a "reference book" in the report would look like it took the entire time you had the book on the device to read it. But with a "reading sessions" count, that would be a real tip-off that the book was only being used as a reference. (The "reading sessions" count would be unusually high.) *And* How about reporting the length of the book? (that log might be showing us how many bytes total is in the book.) or Perhaps the average bytes per "reading session"? - - - - Output format(s): How about something general purpose, that almost anything can use? Like CSV (comma separated variables)? Note: In general, members of this forum do not do custom "code this for me" requests. (Although some members do "work for hire".) - - - - Processing: All the above relatively easy to do in Lua. But Lua is only pre-installed by Amazon in the 5-series firmware and this request is for a 4-series firmware device. I do not know off-hand what processing resources are pre-installed by Amazon in the 4-series firmware. Hmm... On the subject of Lua - Why not switch this thread's subject into a "feature request" for either (or all) of our multi-format readers? Those are already written in Lua, work across device types, and are open source programs. Under **our** control, not under Amazon's ? |
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79
Karma: 24492
Join Date: Jul 2013
Location: France
Device: Kindle 4, PBk Lux 2, PBk Lux 3, K Aura, K Libra H2O, K Libra2
|
Thank you for your interesting reply.
I am a little bit surprised that nobody is interested to collect reading informations. In fact, only Amazon collects them to analyze your reading habit. |
![]() |
![]() |
![]() |
#13 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@druss67: You're not. Cf. https://github.com/mattbnz/kindle-utils for one log parsing implementation.
|
![]() |
![]() |
![]() |
#14 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
![]() |
![]() |