-
Notifications
You must be signed in to change notification settings - Fork 33
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
Media types of Readium publications #121
Comments
very much in favor of this 👍 |
The Readium WebPub Manifest and the associated packaged format are internal to the Readium project. Their destination is not to become an international standard, they not even meant to be used outside of Readium modules.
Because they are internal formats, we don't need to register our media types via IANA: registration of a mime type is a cumbersome task (we just did it for the W3C LPF format) and we have better things to do. But reading rfc6838 on the .vnd branch, I see that "... public exposure and review of media types to be registered in the vendor tree are not required ...". I therefore suppose that we can simply rename our media types with a But ... we must be careful not to break all implementations (including those which use OPDS feeds we do not control) if we decide to apply this modification. Are you confident it is the case? Note: DiViNa may become a special case. Either (after the current incubation) our descriptive JSON structure will be accepted as-is by a W3C WG and "injected" into a W3C manifest, in which case it will become a new profile of W3C Web Publications, or we will create an EDRLab industrial standard out of it. In the latter case, |
I think the list of candidates for "true standard" goes beyond DiViNa:
This does raise a question about RWPM itself since all four "candidates" are based on it. It's not uncommon for W3C or IETF drafts to declare a new media type in the media branch, even though some of these drafts never become recommendations. IMO we're in a similar spot right now and I'm wary about taking such decisions. |
I have a quite different interpretation of the RFC. I think it says that, in the Whether or not Readium conforms to the RFC, it would be interested to clarify for each format whether it is intended to be public or not.
That's the reason I think DiViNa media type should be prefixed by Concerning publications protected by LCP: what about an optional parameter? For example |
I like this. It's probably not valid but it would be useful to add it to EPUB as well, at least as an internal media type for storage.
@qnga I didn't know about this |
Let me give some details about suffixes:
Actually there is a registry of suffixes. I am not sure about that, but registering a media type with an unregistered suffix might be impossible. So, in case some Readium formats are meant to become standards with a registered media type, a registrable suffix should be chosen. Is
We can imagine |
During the call yesterday, three proposals were discussed:
The list of media types that are potentially candidates for a real standard are:
The following media types are not prime candidates but would be the base formats for the media types listed above:
There's also a media-type for the Position List: |
My personal preference is to keep thing as-is and revisit this in the future:
|
I agree with Hadrien, the incorrect media types are only used internally and that could be a bit too disruptive for the older implementations. However, I will use the |
After a vote and a discussion during a weekly call, we've decided to keep things as-is for now. |
I think Readium shoud conform to RFC 6838 on media types. With the current strategy, we are contributing to the global mess and could soon end up with conflicts.
Media types from the standard tree (without a prefix) must be registered and are reserved to recognized standards. Otherwise, a type in the
vnd
tree can be registered with the IANA, or thex
tree used mainly for internal purposes. Suffixes should not be used with unregistered types, and are intended to indicate conformance to a general syntax, not to give additional information.I think readium formats are intended to be publicly used, so some media types should be registered in the
vnd
tree. I guess we should have for exampleapplication/vnd.readium.webpub+json
,application/vnd.readium.webpub+zip
,application/vnd.readium.audiobook+json
,application/vnd.readium.divina+json
orapplication/vnd.divina+json
since divina is enough specific.If registration is not possible for any reason, I guess a systematic
application/vnd.readium
prefix should prevent conflicts.The text was updated successfully, but these errors were encountered: