[epubweb][packaging] Moby-Dick as EPUBWEB document

Hi All,

I’ve been poking around the web packaging format draft, and thinking about
EPUBWEB and I couldn’t resist trying to make a sample document.

The file is available as an attachment from the www-archive mailing list
[1].

So here’s what I did:

[1] Used the W3C/TAG streaming document format. I’m sure there are many
mistakes in my understanding of this.

[2] Document content is HTML5, in this case the HTML serialization.

[3] The first file in the archive is a very minimal manifest file, which
seems to replace container.xml by pointing to the starting point.

[4] The second file in the archive is index.html, which serves as both
primary navigation and to describe the reading order.

[5] Document metadata is JSON-LD in the head of index.html. I wanted to
avoid non-OWP XML vocabularies like <package>, as well as standalone
metadata files.

[6] I’ve included a few images as base-64 encoded, just so I could have the
.pack file be easily viewable in my text editor.

[7] I zipped the .pack file purely to reduce the file size when emailing.
In the real world I expect we’d gzip the individual components.

As always, this is an exercise in generating questions rather than answers
:)

Dave

[1] https://lists.w3.org/Archives/Public/www-archive/2015Feb/0007.html

Received on Wednesday, 18 February 2015 16:02:04 UTC