Publication(Information about EPUB book)
EPUB Publications is information about EPUB books.
EPUB Parser represents it as
book = ::.("path/to/book.epub")
book.package is a package document, a root of information tree about the book, and it has attributes to access five major models of the publication; , , , and .
Each of them has information the book in the way its own.
is literally metadata of the book, including identifiers, titles, languages, links and so on.
You can access them by:
md = book.package. # => EPUB::Publication::Package::Metadata md.titles # => [#<EPUB::Publication::Package::Metadata::Title...>, #<EPUB::Publication::Package::Metadata::Title...>, ...] # ...
- EPUB Publications 3.0 on IDPF site