w3c / epubweb

White Paper on the EPUBWEB project
31 stars 10 forks source link

Reference the Manifest for web application spec ? #30

Closed rdeltour closed 9 years ago

rdeltour commented 9 years ago

Manifest for web application "defines a JSON-based manifest that provides developers with a centralized place to put metadata associated with a web application".

I would very well see it as a potential spec to use in EPUB-WEB, e.g. to describe what's needed in section 3.2 "Capturing overall publication structure".

iherman commented 9 years ago

Thanks for the pointer, this is indeed very useful, potentially. Would that replace the current opf files, potentially?

My very cursory reading of the spec reveals a difference in view, however. In some sense, an EPUB "begins" with the manifest files, that is the file that governs/gives information on what is in the EPUB file, what types they are, etc. Using the manifest as in this referred spec puts an HTML file into the center as the starting point, linking to additional metadata that gives all those information. I am not sure what the consequences are, though...

rdeltour commented 9 years ago

Would that replace the current opf files, potentially?

yes, from what I understand the manifest for web apps is roughly the equivalent to the OPF for EPUBs.

My very cursory reading of the spec reveals a difference in view, however.

Right. Note that there's an interesting recent thread in the www-tag list about the Packaging spec which mentions a manifest-like approach and asks the question of intersection with the Manifest spec. I've not read the whole thread, but it's definitely of interest for EPUB-WEB.

mgylling commented 9 years ago

Added in https://github.com/w3c/epubweb/commit/d79e1357595682316604884f5f189a5a5fc3f59c

LMKWYT.

rdeltour commented 9 years ago

LGTM (except perhaps the extra <p> starting tag)