EBook::EPUB::Check - Perl wrapper for EpubCheck
use EBook::EPUB::Check; # exports epubcheck()
my $result = epubcheck('epub/invalid.epub'); # => isa 'EBook::EPUB::Check::Result'
unless ($result->is_valid)
{
print $result->report;
}
epubcheck('epub/valid.epub')->is_valid; # => success
Command Line Interface:
epubcheck ebook.epub
epubcheck -out output.xml ebook.epub # Extracting information from an EPUB file
EBook::EPUB::Check checks whether your EPUB files are valid.
For more Information about EpubCheck, see https://github.com/IDPF/epubcheck/wiki.
Java must be installed and set in your PATH.
Returns an EBook::EPUB::Check::Result instance.
-
of the Module
Copyright (C) pawa.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
-
of EpubCheck
New BSD License
https://github.com/IDPF/epubcheck/wiki
pawa pawa@pawafuru.com