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 03-15-2014, 07:48 AM   #721
Rob557
Enthusiast
Rob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-books
 
Posts: 45
Karma: 810
Join Date: Jul 2012
Device: Kobo
example of broken TOC links - how to bulk-find problem ePubs ?

Greetings.

I was trying to find a way to bulk-identify ePubs that have problems with the TOC but was not successful finding existing problems using the Quality Check options.

To illustrate, the link below is to a partial ePub that contains TOC links that do not work, but the Quality Check plugin did not identify the ePub as a problem. The Quality Check option I had tried was "Check ePub Structure: Check NCX TOC with broken links".

http://www78.zippyshare.com/v/83382137/file.html
"PARTIAL SAMPLE OF BROKEN TOC LINKS.epub" It is not a full ePub but just an illustrative sample.

I was hoping to determine if there was some alternative approach to bulk-search for problem cases, perhaps with regular expressions, but none of the metadata columns seem to provide insight into the TOC and the validity of the links. Supposedly at some time the links had been working, but they were not when I downloaded the full ePub from the internet.

Thanks in advance for any help. I wasn't sure if I should post this here or under the "Library Management" part of the forum.
Rob557 is offline   Reply With Quote
Old 03-15-2014, 12:09 PM   #722
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,212
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Rob557 View Post
Greetings.

I was trying to find a way to bulk-identify ePubs that have problems with the TOC but was not successful finding existing problems using the Quality Check options.

To illustrate, the link below is to a partial ePub that contains TOC links that do not work, but the Quality Check plugin did not identify the ePub as a problem. The Quality Check option I had tried was "Check ePub Structure: Check NCX TOC with broken links".
<removed>
"PARTIAL SAMPLE OF BROKEN TOC LINKS.epub" It is not a full ePub but just an illustrative sample.

I was hoping to determine if there was some alternative approach to bulk-search for problem cases, perhaps with regular expressions, but none of the metadata columns seem to provide insight into the TOC and the validity of the links. Supposedly at some time the links had been working, but they were not when I downloaded the full ePub from the internet.

Thanks in advance for any help. I wasn't sure if I should post this here or under the "Library Management" part of the forum.

the links are sort of not fully broken (the destination file exists).

There are no matching anchors within the file referenced

Last edited by theducks; 03-15-2014 at 12:11 PM.
theducks is offline   Reply With Quote
Old 03-15-2014, 01:27 PM   #723
Rob557
Enthusiast
Rob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-books
 
Posts: 45
Karma: 810
Join Date: Jul 2012
Device: Kobo
Quote:
Originally Posted by theducks View Post

the links are sort of not fully broken (the destination file exists). There are no matching anchors within the file referenced
Yes, kind of a puzzler as to how to identify these problem cases. Clicking on the TOC items does not have the desired effect.

When using Calibre's relatively new "Edit TOC" display, the problem items are displayed with orange circles rather than green checkmarks, with the associated comment "the location this entry points to does not exist".

A different version of a broken link I guess, but I guess the issue would be how to bulk-identify all ePubs that do not have a matching anchor?
Rob557 is offline   Reply With Quote
Old 03-15-2014, 01:41 PM   #724
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,212
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Rob557 View Post
Yes, kind of a puzzler as to how to identify these problem cases. Clicking on the TOC items does not have the desired effect.

When using Calibre's relatively new "Edit TOC" display, the problem items are displayed with orange circles rather than green checkmarks, with the associated comment "the location this entry points to does not exist".

A different version of a broken link I guess, but I guess the issue would be how to bulk-identify all ePubs that do not have a matching anchor?
In bulk mode: It would be very intensive, as every link would need to be followed whereas the current QC PI check seems to jusr check the the FILE destination exists (the file is not scanned) .

Then there is the technical Positive that can happen with files (modified) that have been split. The file name is still correct, but the anchor is missing. You GET the desired results (defaults to TOF when anchor is not found).
theducks is offline   Reply With Quote
Old 03-15-2014, 04:40 PM   #725
Rob557
Enthusiast
Rob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-books
 
Posts: 45
Karma: 810
Join Date: Jul 2012
Device: Kobo
Quote:
Originally Posted by theducks View Post
In bulk mode: It would be very intensive ...
Ah well, I guess this would be one of those situations where, if a problem is encountered as a one-off problem, then it would be resolved at that time rather than looking ahead to identify and resolve all existing problem cases. Thanks for your comments theducks.

If perchance someone thinks of an efficient checking method, even if it means leaving the process to run as it cranks through large libraries, that would still be of interest although I can see why it may not be desirable to build it in as a standard plugin feature (at least not without a warning message).

Last edited by Rob557; 03-15-2014 at 04:43 PM.
Rob557 is offline   Reply With Quote
Old 05-02-2014, 04:34 PM   #726
camelx
Junior Member
camelx began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2014
Device: ipad
How to change marked to selected

I love the Quality Check plugin, thanks.

I have a question about my results. After running some checks, it only "marks" the results. If I want to bulk edit the results, then I have to select them.

So is there a command to change all Marked items to be selected?

Or if not, can I get all the Marked items to be grouped together? So I could them shift click select them all.

This would be useful if I'm looking for invalid title_sort or author_sort values. I could fix them with bulk metadata.

Thanks in advance.
camelx is offline   Reply With Quote
Old 05-02-2014, 04:38 PM   #727
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,212
Karma: 5495470
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by camelx View Post
I love the Quality Check plugin, thanks.

I have a question about my results. After running some checks, it only "marks" the results. If I want to bulk edit the results, then I have to select them.

So is there a command to change all Marked items to be selected?

Or if not, can I get all the Marked items to be grouped together? So I could them shift click select them all.

This would be useful if I'm looking for invalid title_sort or author_sort values. I could fix them with bulk metadata.

Thanks in advance.
If your view (a preference setting) only has marked items showing.:ctrl-A or click the little block above the row numbers
theducks is offline   Reply With Quote
Old 05-09-2014, 06:45 AM   #728
Rob557
Enthusiast
Rob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-booksRob557 has learned how to read e-books
 
Posts: 45
Karma: 810
Join Date: Jul 2012
Device: Kobo
re: how to change marked to selected

Quote:
Originally Posted by camelx View Post
... can I get all the Marked items to be grouped together? So I could them shift click select them all ...
I'm not sure if I'm partially saying the same thing as theducks, but some alternatives to consider (although typically for me the quality check results do seem to be grouped together already, so maybe my preference settings are already different):
1) In the top right corner click on the icon button containing four horizontal blue lines stacked on top of each other ("enable or disable search highlighting"),
or 2) In the top left corner click on the Virtual Library button and select "current search" and to reverse that process click on that same button and select "none".
Rob557 is offline   Reply With Quote
Old 07-10-2014, 09:29 AM   #729
davidfor
Wizard
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 4,910
Karma: 4798550
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Beta for calibre change to Qt5

FYI, I am not kiwidude and this isn't my plugin. But I'm trying to help out by porting some of the plugins I use regularly while kiwidude is busy.

Attached is a test version that should work for both the existing 1.X calibre and the upcoming 2.X version calibre. 2.x will use PyQt5 which requires changes to virtually all plugins.

This version needs to be tested with the existing calibre.

Brave souls to test with with the beta 2.X version would also be appreciated. Links to the 2.X beta and discussion of the transition (for plugins) can be see at: Attn plugin developers: calibre moving to Qt 5.
Attached Files
File Type: zip Quality Check-qt5.zip (128.7 KB, 12 views)

Last edited by davidfor; 07-10-2014 at 09:30 AM. Reason: Forgot to attach the file.
davidfor is online now   Reply With Quote
Old 07-10-2014, 06:35 PM   #730
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,689
Karma: 3818505
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"
I ran a number of checks against my whole library under calibre beta 1.200. No problems encountered. I can confirm the config bug is gone.
jackie_w is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kindle Collections meme Plugins 2058 07-15-2014 01:36 AM
[GUI Plugin] Search the Internet kiwidude Plugins 204 07-13-2014 08:21 PM
[GUI Plugin] Open With kiwidude Plugins 223 07-09-2014 02:42 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 4 09-11-2011 06:14 AM
[GUI Plugin] Book Sync **Deprecated** kiwidude Plugins 111 06-07-2011 07:47 PM


All times are GMT -4. The time now is 07:51 PM.


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