06-26-2013, 11:40 PM | #541 | ||
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
BR |
||
06-27-2013, 08:06 PM | #542 |
Member
Posts: 16
Karma: 10
Join Date: Oct 2012
Device: Kindle keyboard
|
Excellent, worked like a charm. Thanks for your help!
|
Advert | |
|
07-05-2013, 06:14 AM | #543 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2013
Device: Kindle gen. 4
|
Hi,
I have downloaded page numbers from goodreads, made a custom column, and everything else in the guide. However I am not sending the books to my kindle, I safe it on disk and copy it via usb. Is that a problem for this page count solution? Because I cannot se pages, I only see location... Do I need a specifict version of firmware on my kindle? |
07-05-2013, 04:14 PM | #544 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@coolbox - why do you not send the books to your Kindle? That right there is the problem. Your only option if you want to use Save to Disk is to use the separate APNX File Generator plugin, however that has not been maintained and does not support getting from the custom column this plugin populates.
|
07-17-2013, 11:21 PM | #545 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I'm looking for help on how to hack the plugin so that if the book has an epub (Preferred Output) then it counts the words in that, rather than converting something from the preferred input list. I had a look at the plugin but I couldn't work out how to make it do that. I need the word count before I run Modify over the EPUB to remove the cover and add the book jacket. At the moment I get round the problem by pushing the ePub to the top of Preferred Input format list, do the Count Pages, then push the Epub below the actual Preferred Input formats, and then do the Modify. I find having to put Count Pages between a pair of Preference setting changes a bit tedious. It's become an issue since I put jackets at the back of the ePubs, the jacket includes the #wordcount custom column. The colleagues to whom I send the ePubs find the word count useful. The difference between the original PRC and the final EPUB can be as much as 33%. The 'books' are factual public domain papers, reports, dissertations etc. BR Last edited by BetterRed; 07-17-2013 at 11:23 PM. |
|
Advert | |
|
08-06-2013, 12:12 PM | #546 |
Member
Posts: 17
Karma: 10
Join Date: Dec 2012
Location: Delhi
Device: ipad 2
|
Custom Values in column by mathematically manipulating values generated by plug-in
Nowadays my book title in my ebook reader goes like this
[Gunning Fox Index] [Book Title] [Word Count] It give a rough idea how much time I will have to invest to finish the book book. But not satisfied, I would like a more accurate representation. [Book Title] [ Time to finish in hours] I have the values of Gunning Fox Index and Word Count from the plug-in. And I know my reading speed is around 350 words per minute (WPM). Thus Time to read (minutes) = Word Count / Reading Speed Time to read (hours) = Time to read (minutes) / 60 Adjusted time of read when taking into account the Gunning Fox Index (hours) = [Time to read (hours)] * [(Gunning Fox Index of the book) * (Index Correction Factor, which I take to be 8)] This ensures book with a gunning box index of lower than 8 (which means books are very basic) will show adjusted time lower than values generated wihout taking GF index into account and vice versa for for complex books having gunning fox higher than 8. (A Discourse Upon the Origin and the Foundation of the Inequality Among Mankind is the highest in my library with value of 23.54) How can I get this value in a custom column in calibre ? I tried reading the manual but have given up. Best I could do was exporting a catalog in csv format and making a excel file out of it, but can't export these values into ebook reader then. So, if some kind soul could spoon feed me the formula and steps how to go about it , it would be super nice. TLDR: How to make a custom column that takes value of a custom column (word count) divides it by a constant (3600) multplied by another constant (my WPM i.e. 350). Then the value produced is to be multiplied by value produced by dividing the value in another custom column (Gunning Fox Index) multiplied by another constant (Index Correction Factor, which is to be 8 in my case) |
08-06-2013, 07:01 PM | #547 |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I am not sure how to do in baseline calibre, but I would
BR |
08-07-2013, 08:41 AM | #548 | |
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Quote:
Create a new custom column called Reading time or something, choose "Column built from other columns" as type. In the template field, use Code:
program:multiply(divide(field('#words'),21000),divide(field('#gunning'),8)) Change #words and #gunning according to your custom column names. You'll probably want to format the number, to get two decimal digits you can wrap the template in format_number, ie Code:
program:format_number(multiply(divide(field('#words'),21000),divide(field('#gunning'),8)), '{0:.2f}') |
|
08-07-2013, 01:31 PM | #549 | ||
Member
Posts: 17
Karma: 10
Join Date: Dec 2012
Location: Delhi
Device: ipad 2
|
Quote:
So while your solution was time consuming in retrospect it gave results 60-70 % of the time and failed the rest presumably due to my stupidity. But anywhichway, i got to know a intriguing plugin with which i'll play around and I m sure it will prove useful in coming time. Quote:
These are non-existent quibbles, I m almost asking you to ignore them. 1. Formula encountered a error because I had word count column set up with thousand separators (eg. 123456 is shown as 1,23,456). Had to erase the format for numbers for that column and values showed up like magic. (it was magic for me as i had struggled for multiple hours with import list plugin method. your method was much more noob proof) 2. Since I have the calculated values, I was wondering if my some chance I could copy only the values (kinda like copying a cell with formula to another cell with paste ->values only in MS Excel) and delete the original column wherein the values were calculated. The reason I m asking is I read somewhere in these forums that are columns that are calculated from other columns slow the library. I m now on my home desktop now, but I will have to access calibre library on my weak field/work laptop in a weeks time where I load it up from a USB drive. And then I could format the word count values to show commas some the make sense. Like I said these are minor quibbles and I can live with them very comfortably. And thanks again. Last edited by zoorakhan; 08-07-2013 at 01:37 PM. |
||
08-08-2013, 12:25 AM | #550 | ||
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I must admit I've not used a catalogue csv as the starting point for an Import List process - I've mainly used those that I've create from the format file names that I glean from Windows Search. When I saw Man Eating Duck's solution I assumed it would be much better and more direct. Quote:
BR Last edited by BetterRed; 08-08-2013 at 02:57 AM. |
||
08-08-2013, 05:04 AM | #551 | ||
Addict
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
|
Quote:
Code:
program:format_number(multiply(divide(re(field('#words'),',',''),21000),divide(field('#gunning'),8)), '{0:.2f}') Quote:
If you're concerned you could always do what BetterRed suggests. You could also ask forum user chaley what he thinks, he's the wizard behind the whole template language, send him a PM with a link to my post. |
||
08-11-2013, 04:03 AM | #552 |
Member
Posts: 17
Karma: 10
Join Date: Dec 2012
Location: Delhi
Device: ipad 2
|
Sorry for not replying sooner. But my computer got fried during a power surge. I'll get it back after the individual components manufacturers send the repaired parts as thank god they were in majority. Also a good stabilizer can't do anything if the surge is big enough.
|
09-01-2013, 10:54 AM | #553 | |
Member
Posts: 22
Karma: 10
Join Date: May 2012
Device: Sony PRS-T1
|
Quote:
|
|
09-01-2013, 02:23 PM | #554 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.6.7 Released
Changes in this release:
I don't know exactly what release of calibre Kovid moved the unrar library within the code but the above should hopefully be a safe version number. You should all be using calibre 1.x by now of course... |
09-02-2013, 08:46 PM | #555 | |
Member
Posts: 22
Karma: 10
Join Date: May 2012
Device: Sony PRS-T1
|
Quote:
|
|
Tags |
count, count pages, page count, pages, plugin |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1184 | 04-17-2024 06:17 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |