-
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
Choose a media-type and file extension for Web Publications packaged in "OCF lite" #29
Comments
My only (slight and purely 'diplomatic') reservation is with the extension. We have to be careful not to give the impression that we normatively define a our own packaging format for PWP; this may be considered to be a breach of our charter. I am not sure what extension we could use; what about, say, zwp for zipped web publication? |
Or, as this really for audiobooks at this stage... maybe ".zab" (zipped audio book) and "application/audiobook+zip"? |
@GarthConboy I would prefer not. As @llemeurfr said, the same format may be useful for, e.g., manga at some point, and I do not think we would like to see proliferation of different media types and, even more importantly, different specifications for each of those categories (if we can avoid it, that is). My 2 cents... |
That's a good point... but it's also not clear these specialized uses may ever drive what we do with Web Publications for packaging (if we do anything at all) -- so, for that reason, I'd tend to avoid "wp". But, just my 2-cents, and not something I feel too strongly about. Happy New Year! |
Happy new year to you, too, @GarthConboy!
I can see a bunch of use cases. Eg, as long as we do not have a clear solution for offlining, putting a Web Publication onto my iPad (which does not have a real file system) may only be doable by packaging the content for a possible wpub+zip aware reader; the same publication cannot really be deployed on the iPad as a Web Publication (ie, depending on the browser only). Ie, let us not, from the start, close the door on these... |
I stand by the opinion that we should not tie this spec to the audio publication use case. And I agree that we can find another extension. The pros of .pwp are that it's not already used, it's pretty generic, it blankly represents what we specify and the future web packaging spec will certainly not use this extension. It's about a Container Format. I tried ".wcf" (too microsoftian), ".pcf" (weird in French) .wpc (for Web Publication Container" has been used previously (Windows 95 Wordpad Converter and Corel Wordperfect character mapping) but they are old / unknown formats and we could reuse it. nb: IMO we should not focus on the "WP -> packaged" use case, but rather focus on the "package -> WP use case" (a publisher releases a package, this package is put online by a "bookseller"). |
For the non-French: PCF is the common abbreviation for the French Communist Party:-) |
(We probably need some reserved time around our dinner at the F2F meeting for this type of bike shedding:-) B.t.w., I would prefer to "reserve" |
@GarthConboy |
If we go down the route of choosing different extensions and media types for the container, depending the "class" of content (audio publication, digital visual narrative, text first, synchronized media), we should have a clear & extensible model, e.g. application/wp+audio+zip, with extension .wpa etc. |
@llemeurfr that does not work, alas! The media type allows for a single '+'. I would more be in favour of using one single media type for zipped web publications, and possibly use a profile mechanism of some sort in, say, HTTP, to talk about an audio (if necessary, ie, if it is not enough to use the data in the manifest). |
@llemeurfr @wareid @TzviyaSiegman @GarthConboy The #30 includes now a media type specification. Shouldn't this issue be closed? |
As of 11 March 2019, the draft contains: We can still set the mime-type to application/lpf+zip |
After reading https://en.wikipedia.org/wiki/Media_type, it seems to me that the mime-type application/lpf+zip makes more sense, |
This issue was discussed in a meeting.
View the transcriptmedia typeIvan Herman: link: #29 Laurent Le Meur: I invite you to open reference #6 - the lpf light document. The first issue is issue #29 - we need to decide on the media type of the format. We want to use application-lpf+zip since lpf is lightweight packaging format, the +zip is that the underlying format is zip … It was discussed - but are there any comments on this proposal? Proposed resolution: media-type: application/lpf+zip, extension: .lpf (Ivan Herman) Geoff Jukes: +1 Laurent Le Meur: +1 Nick Ruffilo: +1 Jun Gamou: +1 Ivan Herman: +1 Ric Wright: +1 George Kerscher: I’m assuming there are no conflicts with this extension on the various operating systems where they are registered? Dave Cramer: https://filext.com/file-extension/LPF Laurent Le Meur: I looked at the list, and it was only used in a very obscure way, and it wasn’t registered. Do you know of an open list of media types that we can check? Rachel Comerford: 0 - I don’t understand the impact clearly enough to vote George Kerscher: I don’t know, but I just recall how long it took to get epub recognized by the various browsers so that it would download. As long as there are no conflicts. Dave Cramer: I had a similar question to George - the only LPF I find is unrelated and not widely used, so i think we’re pretty safe Garth Conboy: +1 Geoff Jukes: FYI https://www.iana.org/assignments/media-types/media-types.xhtml Laurent Le Meur: also found the obscure https://assiste.com/Types_de_fichiers/Extension_LPF.html Wendy Reid: Any additional votes for the media-type application/lpf+zip and extension: .lpf ? Ben Schroeter: +1 Gregorio Pellegrino: +1 George Kerscher: +1 Dave Cramer: 0 Brady Duga: 0 Deborah Kaplan: 0 Charles LaPierre: 0 Matt Garrish: 0 Marisa DeMeglio: 0 Resolution #2: media-type: application/lpf+zip, extension: .lpf |
This issue was discussed in a meeting.
View the transcriptChoose a media-type and file extension for Web Publications packaged in “OCF lite”Laurent Le Meur: #29 Laurent Le Meur: In the discussion about mimetypes, #29 what will we choose for file extension and media-type Laurent Le Meur: application/lpf+zip Laurent Le Meur: in the draft the extension is .lpf (lightweight package format) mimetype is application/lfp+zip Nick Ruffilo: #29 on the 29th RESOLVED! |
The use of a simplified version of OCF is discussed by the Audio TF, as a way to be able to package audio based Web Publications without waiting for future W3C Web Packaging technologies. The upcoming BD-Comics-Manga CG will certainly also want to package contents using the same technique. This makes this simplified version of OCF more than a pure "OCF for Audio" format; rather a generic packaging mechanism for Web Publications, with know constraints (discussed elsewhere).
Such a Web Publication container will essentially be used:
What should be the mime-type for this file format?
What should be the preferred file extension for this file format?
Note: the first draft boldly uses the following values:
The text was updated successfully, but these errors were encountered: