8
ePub3 Packaging-5 Updated: 2012-07-28
Packaging a novel or linear non-fiction book is no more difficult for ePub3 than it was in ePub2. The difference is there may be now officially be audio and video in the package, and sometime in the future SMIL media overlays may become a larger reality. We are aggressively working on tools that will remove a lot of the pain from SMIL audio production (we hope).
Correctly packaging a large digital content product that contains a lot of different types and kinds of media is very important. The rules are the same as ePub2:
Because our system is a very large and powerful multi-format generation framework, the packager is presented with a lot of material that may or may not apply to an ePub3 instance actually being generated.
An IGP:FoundationXHTML package is a stand-alone resource that contains all the content and direct or implied processing instructions for many digital content formats. Its XHTML ready to work!
In a system like this it is important to evaluate and optimize the files for the final package.
If you are automating ePub3 packaging, here is a simple check list to ensure all files in a package are in the manifest:
All image files referenced from all the XHTML files and all the CSS files, and if necessary from the Javascript, must be included. That means:
Our first pass of the packaging processor neglected the <poster> image inside the HTML5 <video> element because it was shiny and new.
If you are packaging with A/V fallbacks make sure all the fallback files are included.
You need to ensure only fonts that are declared in the CSS are in the package. IGP:Digital Publisher segregates print CSS and Online CSS so we don't have a conflict here. However designers do tend to put 20 fonts into the Online CSS and only use three or four of them. So our font packaging rule is:
Also the package has WOFF conversion and font obfuscation options which can be set.
Creating content documents with Javascript and CSS in the header should probably be strongly discouraged. Where possible a packager should move them as referenced links. We don't have the problem because the structure of IGP:FoundationXHTML is sufficiently sophisticated, and the supporting AZARDI Interactive Engine knows exactly how to apply the required Javascript for a page using Load and Build techniques.
We find the specification a little optional and confusing. We are not packaging for remote resources until we find out if there are devices and readers that will use them. AZARDI Desktop will not play remote resources which are directly linked into the package. It will launch remote resource links in a separate window.
You can see ePub3 files in operation in AZARDI.
The AZARDI desktop reader has very high conformance support for all properties. Because all of these properties are supported natively in AZARDI it does not have to use the properties references for display.
AZARDI supports MathML, SVG, external references and scripted.