![]() |
#1006 |
Zealot
![]() Posts: 106
Karma: 10
Join Date: Jun 2014
Location: Poland, Żory
Device: Prestigio PER3464B, Onyx Lynx, Lenovo S5000 i Tab4-8"
|
|
![]() |
![]() |
![]() |
#1007 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
One thing is, I'm a little hesitant about adding the page download for other sites. The number of users that downloading from Lubimyczytac.pl website will help is relatively small. And what happens if someone wants to add another source? The menu could start getting long. But, the added function is very useful to those who want it. That makes me think about how to handle it. The simplest is of course just to display all the items. But, I'm going to see the "Lubimyczytac.pl" and want to press it ![]() An alternative is to stick with one menu item that is something like "Get page count from web sources". Then choose the source based on the identifiers on that book. Plus a priority for the sources. That way you could set Lubimyczytac.pl as first followed by Goodreads. If the book has both identifiers, then Lubimyczytac.pl will be used, if it only has Goodreads, then the Goodreads will be used. And if the page count isn't found on the first source, should the later ones be tried? And writing that makes me fell like both options should be available. ![]() In the meantime, I will merge the code and do some cleanup. Once I have done that I'll decide whether to release it or post a beta. I might release it to get the other changes out and then decide about the best way to handle the multiple web sources. |
|
![]() |
![]() |
![]() |
#1008 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,766
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#1009 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 846
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
|
Quote:
Quote:
[ ] If the page count isn't found on the first source, stop searching. or opposite: [ ] If the page count isn't found on the first source, search in other. I am a complete beginner in Python, therefore if you find any bug in this edition, please do not yell at me. As soon as the idea of adding a new service to the plugin came into my head -- I had to do it. Really I tried to test all the options. Speaking of the beta I agree with BetterRed. First, you can publish the final version with the ICU and later thought-out version with support for multiple sources. Version 1.6.13 is not important (you can omit it) -- most important is the idea. |
||
![]() |
![]() |
![]() |
#1010 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
One problem with getting page counts from an external site. I've never ever seen an eBook listing that has the correct page number for the eBook. ePub has a specific page count algorithm that does not correspond to a paper book's count. Kindle books have a different algorithm for books that do not have page number file.
|
![]() |
![]() |
![]() |
#1011 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Update to version 1.7.0
Count Pages version 1.7.0 has been release. This includes most of the changes discussed in the last few weeks and at this time last year. The full list of changes is:
The only recent change not included is downloading the count from Lubimyczytac.pl. I'll work on including that soon. I want to make it easy to add other sites if they come along. Also, it will need at least one extra option and I think it's time to rework the configuration page. Version 1.7.0 should be available to you the next time you restart calibre. If there are any problems, please report them here. |
![]() |
![]() |
![]() |
#1012 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,766
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
For me it's now lightning fast when the Preferred Output Format (EPUB) option is set compared with using first available Input Format (most often DOCX).
For a 140K word book, 2 seconds versus 28 seconds - in my book that's a massive improvement. Curious - how many lines of code did that change entail - roughly? Well done ![]() BR Last edited by BetterRed; 01-21-2017 at 11:55 PM. |
![]() |
![]() |
![]() |
#1013 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#1014 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2017
Device: Kindle Paperwhite
|
![]()
Hi
I love this plug in and have used it for ages. I use the download word count from Goodreads function but about two months ago I noticed that the page numbers had gone haywire. I now suspect that it is downloading the word count but bizarrely it doesn't happen for every book, some books it does download the page count. I was hoping that the new version would 'fix' this issue but I have just run the word count for 14 books and three returned normal page counts, seven returned page counts ranging from 31,000 to 106,000 and four books haven't been linked to Goodreads and/or haven't been linked to books with a page number set. Is the problem at my end or yours and how can I fix it? ![]() |
![]() |
![]() |
![]() |
#1015 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
To look at this, I need examples. Can you post the goodreads link for the books both the books that got the wrong count and those that got the right count? I can test these and hopefully see what is wrong. |
|
![]() |
![]() |
![]() |
#1016 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 161
Karma: 1842
Join Date: Jan 2016
Device: Kobo Glo HD
|
French translation
Hi
I've been using (and enjoying) this plugin for a long time, so thanks a lot ! I saw in the latest release that you support translations so I made one for french. I saw that Sengian did one in 2014, but it wasn't complete, so I completed it and I changed some parts as well. I hope you can include it in the next update. If there are some french speakers here, feel free to check for spelling mistakes! |
![]() |
![]() |
![]() |
#1017 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#1018 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Ever since the last version, my custom shortcut for 'Estimate page/word counts' stops working fairly quickly (haven't pinpointed yet how long or after which function). I have to restart Calibre to get it to work again. All other custom shortcuts work -- I've checked them the last 5 times the Estimate one doesn't work any more to be sure, so I figured it was connected to the plugin rather than Calibre.
Any ideas? |
![]() |
![]() |
![]() |
#1019 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
When it happens, can you start the count using the menu or toolbar button? And is the shortcut still configured? |
|
![]() |
![]() |
![]() |
#1020 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Quote:
I'll try and keep watch to figure out if there's something in particular that might be the cause. |
|
![]() |
![]() |
![]() |
Tags |
count, count pages, page count, pages, plugin |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Quality Check | kiwidude | Plugins | 1252 | 08-02-2025 09:53 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 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 |