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: 44
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: 13,597
Karma: 5126946
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: 44
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: 13,597
Karma: 5126946
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: 44
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
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 2011 04-08-2014 10:38 AM
[GUI Plugin] Open With kiwidude Plugins 216 03-18-2014 02:23 AM
[GUI Plugin] Search the Internet kiwidude Plugins 195 03-29-2013 01:15 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:49 AM.


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