View Single Post
Old 06-24-2023, 07:03 PM   #1
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,622
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Time to read estimates

Quote:
Originally Posted by davidfor View Post
Code:
Reading estimate Lower: program:mod($$#words, 12)
Reading estimate Higher: program:mod($$#words, 10)
...

There is no attempt to make sure the values are sensible (the 12 and 10 are just numbers that I tested with). And there is no control over the formatting of the statistics on the device. That is done by the device.
I am using a Libra 2 running v4.35.20400
I added the above code to my Kobo driver as shown in the first image.

The problem is that I get some weird estimates, like...
a 10,545 word book takes between 9 - 5 hours (2nd image) (min is more than max)
a 109,767 word book takes between 3 - 5 hours
a 237,305 word book takes between 5 - 5 hours (3rd image)
a 372,000 word book has no estimates.

These estimates are not even close, hence davidfor's disclaimer. So I would like to adjust the estimates to something more realistic for me.

I am not really sure what the 12 and 10 represent in the code above.
If I want to adjust the reading speed to between 200 and 250 words per minute, what values should I use?

Also, is it possible to add other data so it is visible in the details page? I am hoping to add "Last Read" and "Rating"
Attached Thumbnails
Click image for larger version

Name:	wordcount.jpg
Views:	150
Size:	108.8 KB
ID:	202264   Click image for larger version

Name:	wordcount1.jpg
Views:	146
Size:	38.8 KB
ID:	202265   Click image for larger version

Name:	wordcount2.jpg
Views:	122
Size:	32.9 KB
ID:	202266  

Last edited by Karellen; 06-24-2023 at 07:07 PM.
Karellen is offline   Reply With Quote