View Single Post
Old 06-06-2020, 12:52 PM   #1824
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: 80,061
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by droopy View Post
1a. What's the fastest/easiest/recommended/best/automatic way of figuring out which epubs are poorly constructed or malformed?
1b. What's the easiest/fastest/best/automated way to fix a poorly constructed or malformed epub?

2. I assume that javascripts in epubs are useless, yes? Epubs are static documents and javascripts are dynamic stuff that are not supposed to be in epubs/ebooks in the first place, right? If these things are true:
2a. What's the fastest/easiest/recommended/best/automatic way of figuring out which epubs have javascript in them?
2b. What's the fastest/best/easiest way of removing (automatically, preferably) javascripts from all epubs?
Install the epubcheck plugin. Load the ePub in the Calibre editor. Use the editor's checker and epubcheck to check all the ePub. Then you can use the editor to fix the errors.

As for removing javascript, install the Modify ePub plugin to dump all javascript.
JSWolf is offline   Reply With Quote