Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 07-31-2012, 11:07 AM   #391
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
It should finish eventually - remember that it is all about the book formats, and that if you aren't dealing with ePubs then it has to convert to ePub which is where 99% of the time will be spent.

I do intend (once I get feedback on my changes to Extract ISBN) to apply similar changes to this plugin to break up into batches. So if for instance it is batches of 100 books by default then in this case you would presumably be able to have 900 of your results applied and then cancel the last batch which has the problem books in it to subdivide and isolate the problem one(s).
kiwidude is offline   Reply With Quote
Old 07-31-2012, 11:10 AM   #392
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,822
Karma: 18755150
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Can you make the plugin such that if the eBook is not ePub, it ignores it? If it's not ePub, I don't care about page numbers for it and if I get page numbers based on a conversion to ePub, then I'm getting an incorrect page number as that's not how the book will be if I read it.
JSWolf is online now   Reply With Quote
Old 07-31-2012, 11:11 AM   #393
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
No I am not going to do that - you can do it yourself with a search of formats:epub.
kiwidude is offline   Reply With Quote
Old 07-31-2012, 11:24 AM   #394
GeckoFriend
Fanatic
GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.GeckoFriend ought to be getting tired of karma fortunes by now.
 
GeckoFriend's Avatar
 
Posts: 545
Karma: 1024603
Join Date: Jan 2012
Location: SF Bay Area, California
Device: Sony PRS T-1, Kindle Fire
@kiwidude

All 1000 books are epubs so conversion isn't the problem. I definitely like the idea of batches.

Update: The job finally finished after 9.5 hours. I guess posting solved the problem.

Last edited by GeckoFriend; 07-31-2012 at 11:47 AM. Reason: Add additional information
GeckoFriend is offline   Reply With Quote
Old 08-01-2012, 10:14 AM   #395
cryzed
Addict
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 318
Karma: 1050026
Join Date: Mar 2011
Device: Kindle Paperwhite, Kindle Voyage
Hey there, this might sound stupid, but what is the best "counting algorithm" so I get page counts fitting for the Kindle screen with the default font sizes? Short info: I'm using a Kindle 4 with font size 3/8, Typeface: regular, Line Spacing: medium, Words per Line: default.

Currently I am using APNX but it doesn't seem to "work" properly, sometimes I have to trigger the next-page button a few times until the page count finally increases. I know that it probably can't be 100% accurate unless the Kindle device implements a dynamic page count, but what is the closest approximation?

Last edited by cryzed; 08-01-2012 at 10:21 AM.
cryzed is offline   Reply With Quote
Old 08-02-2012, 06:47 AM   #396
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@cryzed - there is no magic algorithm to give you what you want, as has been said many times in this thread algorithms like APNX can only approximate based on some variables and assumptions around average paragraph lengths, number of lines etc. All of which becomes moot given users can choose different line spacings, font sizes, margins, screen sizes, CSS attributes... There is *no* amount of "twiddling" with these will get you anything more satisfactory across more books (or indeed across an entire book).

The only reliable way to solve this problem would be something in the Kindle firmware to compute the page turns. But presumably that requires a fair amount of computation which would impact the performance and battery life of the device so they don't do it either.
kiwidude is offline   Reply With Quote
Old 08-02-2012, 03:32 PM   #397
rlh3
Enthusiast
rlh3 began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Jul 2012
Device: iPad 2
Is there a way to get this plugin to just count the number of pages in a PDF, without making the conversion to epub? I have a large number of academic history books that I need to keep in PDF format (and preserve the existing pagination of) that I would love to have page counts for.

Thanks for a very useful plugin.
rlh3 is offline   Reply With Quote
Old 08-02-2012, 03:38 PM   #398
jgaiser
Omnivorous
jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.jgaiser ought to be getting tired of karma fortunes by now.
 
jgaiser's Avatar
 
Posts: 3,032
Karma: 20949031
Join Date: Feb 2008
Location: Rural NW Oregon
Device: Kindle Fire HD, Kindle GDX, Kindle 3, KPW, Nook HD+
Quote:
Originally Posted by rlh3 View Post
Is there a way to get this plugin to just count the number of pages in a PDF, without making the conversion to epub? I have a large number of academic history books that I need to keep in PDF format (and preserve the existing pagination of) that I would love to have page counts for.
I'm not kiwidude, but Adobe Reader (acroread) gives accurate page counts and those page numbers can be manually added.
jgaiser is offline   Reply With Quote
Old 08-02-2012, 03:41 PM   #399
rlh3
Enthusiast
rlh3 began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Jul 2012
Device: iPad 2
Quote:
Originally Posted by jgaiser View Post
I'm not kiwidude, but Adobe Reader (acroread) gives accurate page counts and those page numbers can be manually added.
I was hoping to automate the process, as i have several thousand books that I would like to do this for. If it is a real pain to get the plugin to do it, I will go this route, but it would be a whole lot less painful to be able to click a button (and a lot cooler)
rlh3 is offline   Reply With Quote
Old 08-02-2012, 03:57 PM   #400
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
As of a few versions ago this plugin *always* uses the exact PDF page count and does not try to convert it to ePub. It is only if you have other statistics enabled (like word count or reading ease) that a conversion is required for PDFs. As such the algorithm choice for PDF format is ignored.
kiwidude is offline   Reply With Quote
Old 08-02-2012, 04:00 PM   #401
rlh3
Enthusiast
rlh3 began at the beginning.
 
Posts: 48
Karma: 10
Join Date: Jul 2012
Device: iPad 2
Thanks, KiwiDude. The problem I was having was that word count was also enabled, and it was taking forever to do anything.

Thanks for the fast response.

Last edited by rlh3; 08-02-2012 at 04:06 PM.
rlh3 is offline   Reply With Quote
Old 08-03-2012, 05:27 AM   #402
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 1,251
Karma: 1619751
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Aura H2O
I ran into a cosmetic bug today. If the plugin fails to get a page count due to the books being DRM-infested, it still says it computed a statistic for it ('Count Pages plugin found 1 statistics').

The log correctly says it didn't due to DRM, and the custom column doesn't get updated, so it still works fine, but it shouldn't be counted in the popup, I guess.
mbovenka is offline   Reply With Quote
Old 08-14-2012, 11:52 AM   #403
szweiner2
Member
szweiner2 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2012
Device: kindle
Count Pages

If I use Goodreads as my only Metadata download, can anyone explain the steps I would have to incorporate into Calibre Plugin to download the goodreader page count automatically during the metadata update?

Sandy
szweiner2 is offline   Reply With Quote
Old 08-14-2012, 12:08 PM   #404
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,230
Karma: 1345754
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@szweiner2 - quite simply you can't. Metadata download plugins can't return values for custom columns. Hence why this plugin is completely separate and must be run separately.
kiwidude is offline   Reply With Quote
Old 08-15-2012, 12:33 PM   #405
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,822
Karma: 18755150
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by szweiner2 View Post
If I use Goodreads as my only Metadata download, can anyone explain the steps I would have to incorporate into Calibre Plugin to download the goodreader page count automatically during the metadata update?

Sandy
In most cases, the page number for an eBook on Goodreads is actually wrong. That's why whenever I add an eBook to my library, I have to request it be fixed.
JSWolf is online now   Reply With Quote
Reply

Tags
page count

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 788 Today 12:38 PM
[GUI Plugin] Open With kiwidude Plugins 250 11-20-2014 03:45 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 32 09-13-2014 11:34 PM
[GUI Plugin] Kindle Collections (old) meme Plugins 2070 08-11-2014 01:02 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 06:03 PM.


MobileRead.com is a privately owned, operated and funded community.