Recently I mentioned that I’m working on improving epubcheck, but then I was asked, “what about the items that don’t relate to validation, but really should be checked anyway?”
The issues at hand are things like the 300k file size limit on content files, 10MB limit on images, and complexity issues with CSS.
The solution is a tool tentatively called “stylecheck” that would run much like the epubcheck tool, but would look for issues that are important to the reading systems, but are not necessarily issues of conformance.
An initial release of the tool alert the user to problems if it found:
* 300k or bigger chapter files.
* 10MB or larger images.
* CSS stylesheet with more than some number of styles (150?)
I could see other uses for the tool, checks to make sure that the package for a NIMAS submission has DTBook content rather than XHTML, or checks to make sure the publisher information in metadata is in the approved format. However the first step will be to create the tool and get the basic checks working.
Which is a work underway, and you should see something relatively soon on the epubcheck project pages.