View Single Post
Old 05-20-2012, 06:14 PM   #479
kiwidude
Calibre Plugins 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,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by JSWolf View Post
Speaking of covers, can you add a check if the cover will display in iBooks and if not, fix the OPF so it does?
Can you tell me what causes a cover to not display in iBooks and the fix? Don't really use iBooks myself. If it's simple enough to detect I can add it to the plugin.
Quote:
Also, could you check the CSS and find all the CSS styles that are not used and delete them?
theDucks has raised this previously. It is highly unlikely to happen imo - though if someone out there wants to have a go at implementing the logic for it they are welcome to send me a patch. It is far from trivial given all the permutations of how styles can be implemented and declared. And it is even less trivial to automate removal without rewriting the css. calibre takes care of all this when it does a conversion, but it does so by parsing and rewriting both the html and css files. Rewriting css/html is *not* in the vision stmt of Modify ePub so the fixing would likely remain a manual task unless you just reconvert with calibre.
Quote:
Also, what would be good is to allow quality check to check for a number of things at the same time instead of having to run it over and over for each check.
Yeah I've mentioned that as a possibility previously. However the biggest problem is not so much adding another UI option for running multiple checks so much as presenting the results in a meaningful way.

Think about the issues involved - lets say you select 10 books and run 5 checks against them, and get all sorts of permutations of issues with those books. How on earth are you going to clean them up in a meaningful way knowing what was wrong with each book? At its crudest it would have to be a log file listing by book all the things found wrong with it perhaps (and the search shown at the end are all the books that had "something" wrong). That leaves the onus on the user to copy that log text to notepad and have it open side by side while they go through and fix stuff, selecting different combinations of books manually if they are using Modify ePub to do so. It's a bit icky really.

However there is no doubt that if you have a certain "set" of checks that you think are appropriate for your library, and you want to sanity check either your whole library or books added since a certain date every now and then, that being able to bulk run like this would be less painful than individually running them all. So it will happen one day, it just needs some thought on how it should work.
Quote:
I've just managed to get Quality Check to blow up...
Well... not really. QC still ran to completion didn't it? It has just told you that you have a badly formed epub with the opf file inside it.
kiwidude is offline   Reply With Quote