View Single Post
Old 04-22-2022, 08:23 PM   #331
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 davidfor View Post

Book statistics
As mentioned above, Kobo is now displaying some statistics for the books. These are page and word counts, and estimates for reading. The latter can have a lower and upper estimate. For purchased books these statistics are the same as displayed in the store.

For sideloaded books, the update in the driver will add support for these statistics. In the "Update metadata on the device" section of the driver configuration, options for setting the book statistics have been added. This is optional and must be turned on. All four mentioned above can be set. For each, there is a template field for setting the value for statistic for each book. The result must be an integer. If any templates are empty, or do not return an integer the statistic will not be set for that book. The templates can be simple columns, or calculations based on column values. For example, I currently have:
Code:
Words: program:$$#words
Pages: program:$$#pages
Reading estimate Lower: program:mod($$#words, 12)
Reading estimate Higher: program:mod($$#words, 10)
The above are only examples and if you want to do something similar, you will need to adjust them too use the columns you have in calibre library. And @ownedbycats, I hope you enjoy having four more templates to break play with.

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.
Can someone tell me where in calibre should i do this?

THank you
Deobulakenyo is offline   Reply With Quote