-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What Packaging Format/Style Should a PWP Use? #11
Comments
Actually, I would argue that the PWP specification should not mandate a single packaging format - but instead should address all the requirements for packaging in any valid format. That way, we can have profiles of PWP - such as EPUB4 and NextGen PDF - for specific use cases. |
@lrosenthol I do not think it is possible publish a PWP without providing a packaging format, also in light of the fact that the differences between EPUB4 and PWP may become more complex (see, e.g., my comment elsewhere). There is a clear need (eg, for archival purposes, or for private use) for a "profile" (whatever that means) that is 'simply' a packaging of a WP content, without being bound to other restrictions of, say, EPUB4. Such a profile would need a specified packaging format. It would be possible to cut the PWP document into two, but in view of the size of the document (I do not expect these to be long documents) that would be an overkill. I would think, rather, that the issue should be on how we define PWP conformance (see #12). It should be possible to be conformant with the PWP spec's general sections (whatever they will be), and not with the packaging part. (There are examples for this. Although the situation is fairly different in other respects, the RDFa 1.1. Core defines, within the documents, several classes of conformance). Some of those are defined within that spec, while others, like HTML+RDFa 1.1 are defined, formally, in separate documents.) |
Another approach would be to have a default packaging format, which would open the door to other options as well. |
The idea of a default, but not mandated, format (which I think both of you are suggesting) sounds like a great approach! +1 to that! And on that note, to the original question, I would say that whatever we choose needs have a few key requirements:
Those to me are the only MUSTs. |
Here's a few more we should consider: RFC 2557MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)
Web PackagingEssentially a stream-able, Web-centric
|
Also of note is the research done by the TAG on this topic before they wrote the original Web Packaging specification: https://github.com/w3ctag/packaging-on-the-web#rejected-approaches |
We might also explore the SLEEP - Syncable Ledger of Exact Events Protocol format in use in the Dat Project. |
TAG feedback here should be taken into account in this thread if possible. |
PWP will require the selection of some sort of packaging format in order to be a Packaged Web Publication.
Some options currently under consideration include, but are not limited to:
All of these have pros and cons. For example, Web Packaging is not finalised, the CBOR specification precludes inclusion of a general compression scheme (although one could add one on top of CBOR), and SQLite is not a standard of a recognised body.
The text was updated successfully, but these errors were encountered: