Pagespool for EPUBCheck

v1.0.3
com.pagespool/epubcheck Checked 1 day ago Published 1 day ago

Hosted EPUBCheck: check an EPUB file against the EPUB specification and list every error.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_epub Check an EPUB file with EPUBCheck

Check an EPUB file (EPUB 2 or 3) against the EPUB specifications with EPUBCheck, the W3C's conformance checker. Input: `epub_base64` is the base64 of the EPUB, at most 4 MB decoded, or pass the file as a download link in `file`. Returns `summary` (`valid`, and the `fatal`, `error` and `warning` counts; `valid` is true when there is no FATAL and no ERROR message), `messages` (the 20 most severe, FATAL first, each with `severity`, `id`, `message`, up to three `locations` as `path:line:column`, and a `suggestion` when EPUBCheck has one), `messages_total` and `epubcheck_version`. For the full re…

ParameterTypeDescription
epub_base64The EPUB file, base64-encoded. At most 4 MB decoded.
fileobjectThe file as a download link, instead of `epub_base64`: set `download_url` to a public https URL of the file.