View Single Post
Old 05-07-2022, 06:09 AM   #452
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by DNSB View Post
I configured the Count Pages plugin and ran it on a few books. I then added the program$$ entries to the appropriate areas in the KoboTouch driver (I don't use the KoboTouchExtended driver but it shares that code with the KoboTouch driver so should behave the same). After doing this, I connected, let calibre update the metadata and after safely ejecting, when I looked at the details of a book, it shows the pages, total words and hours to read. See the attached images for more information.

Edit2: One other item I was looking at caused me to have some uncertainty about the way the times are calculated. As near as I can tell, using the mod function would return the remainder of dividing the # of words by 12 (lower) and 10 (higher) which might explain some of the odd times I was seeing. I changed the calculation to program:round($$#words/24000) and program:round($$#words/20000). While not nearly accurate, at least the values don't look like I've been choosing random numbers.
Thank you for the reply and the screenshots.

To tell you the truth, the customizations in calibre are really difficult for me. I am really not techy and have zero sense of basic programming and coding.

Everything is Chinese to me at first. Since I am more a visual learner, and I can't find youtube videos on setting up some settings, it is really a grasp in the dark for me.

Going back to my problem, I followed your examples except the READABILITY OPTIONS and the Flesch Reading Ease and the Flesh Kincaid Grade and Gunning Fog Index, which I have no idea what they are for. Are they necessary for the goal i intend to have (having the word and page counts)?

Also, do i need to create custom columns as well for the reading estimates for the lower and upper templates OR do I just need to input the:

program:round($$#words/24000) in the lower template
program:round($$#words/20000) in the upper template


Thank you very much!

Edit: Word count and page counts now appear on my device. Reading estimates are still missing.

Last edited by Deobulakenyo; 05-07-2022 at 09:20 AM. Reason: Posted that page and word counts now appear
Deobulakenyo is offline   Reply With Quote