Expanding the Manifest Schema #10
AdamSobieski
started this conversation in
Ideas
Replies: 3 comments 1 reply
|
Thanks @AdamSobieski , PWEB Viewers are expected to render web content (html/css/js etc). I am curious to know the non html behavior that you are looking for. |
1 reply
|
Y'all may want to look into the already standardized Web Publication Manifest format. It's lineage is EPUB related, but it could certainly be used for what you describe--and it already accommodates what the current schema here attempts. Hope it's useful! |
0 replies
|
Thanks @BigBlueHat . PWEB addresses a different things. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello. I would like to share an idea that the manifest JSON resources in PWEB archives could be expanded to enable scenarios beyond those where
index.htmlresources were the main resources in the archives.Presently, PWEB archives' manifest resources have required fields:
and recommended fields:
In the specification, the
entryfield is described as typically beingindex.html.One possibility is that a new field,
entry_type, could indicate the MIME type of theentryresource.{ "spec_version": "0.1", "id": "org.example.minimal", "version": "1.0.0", "title": "Minimal Example", "entry_type": "text/html", "entry": "index.html" }{ "spec_version": "0.1", "id": "org.example.minimal", "version": "1.0.0", "title": "Minimal Example", "entry_type": "application/xhtml+xml", "entry": "index.html" }and, for a non-HTML entry resource:
{ "spec_version": "0.1", "id": "org.example.minimal", "version": "1.0.0", "title": "Minimal Example", "entry_type": "text/turtle", "entry": "index.ttl" }Another possibility is that one could expand the JSON schema to enable providing types for entry resources and to enable providing multiple alternative entry resources, enabling a form of content negotiation from inside of PWEB archives.
{ "spec_version": "0.1", "id": "org.example.minimal", "version": "1.0.0", "title": "Minimal Example", "entry": [ { "url": "index-en.html", "language": "en", "type": "text/html" }, { "url": "index-fr.html", "language": "fr", "type": "text/html" } ] }and, for non-HTML entry resources:
{ "spec_version": "0.1", "id": "org.example.minimal", "version": "1.0.0", "title": "Minimal Example", "entry": [ { "url": "index.ttl", "type": "text/turtle" }, { "url": "index.rdf", "type": "application/rdf+xml" } ] }What do you think about these ideas? Thank you.
All reactions