W3C home > Mailing lists > Public > public-digipub-ig@w3.org > February 2015

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

From: Dave Cramer <dauwhe@gmail.com>
Date: Wed, 18 Feb 2015 11:01:36 -0500
Message-ID: <CADxXqOwN2pwtSLNuNY6GLO1BoWPyPU6tbBLY_qTM-ajw2jBiAg@mail.gmail.com>
To: W3C Digital Publishing IG <public-digipub-ig@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:35:55 UTC