Comments (4)
I would assume retrieving the manifest from a package is part of the
package specification, and not in scope of this note, and all those
mentioned scenarios could be defined differently for every packaging
solution.
The 'main' HTML part is in IMHO just a proposal (as is the entire note,
actually), use cases/experience/.. should make clear whether that
alternative is viable or not.
The same goes for HTTP Link headers, etc, but we have to start somewhere.
2016-03-16 10:37 GMT+01:00 Romain Deltour [email protected]:
Currently we're pretty evasive about how the manifest is retrieved from a
packaged PWP. The algorithm says:If the response is a packaged PWP instance (...) unpack the package, and
retrieve the manifest embedded in the packageUnder the hood, several scenarios can be envisioned:
- there is a standalone manifest at a known location (as is the case,
to some extent, in EPUB)- the manifest is combined from several manifests ; for instance, a
"main" HTML document in the package may contain an embedded manifest and/or
link to manifest(s).The "packaged" step in the algorithm may well have to go back to the
"resource as HTML file" step, at some point after the unpackaging.It seems odd that we clearly define the manifest retrieval and priorities
for the "single HTML file" but we do not for the "packaged" stage.
On the other hand, I can hardly see how we could do that given that we
leave the packaging solution entirely open...β
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#22
from dpub-pwp-loc.
On 16 Mar 2016, at 10:37, Romain Deltour [email protected] wrote:
Currently we're pretty evasive about how the manifest is retrieved from a packaged PWP. The algorithm says:
If the response is a packaged PWP instance (...) unpack the package, and retrieve the manifest embedded in the package
Under the hood, several scenarios can be envisioned:
there is a standalone manifest at a known location (as is the case, to some extent, in EPUB)
the manifest is combined from several manifests ; for instance, a "main" HTML document in the package may contain an embedded manifest and/or link to manifest(s).
The "packaged" step in the algorithm may well have to go back to the "resource as HTML file" step, at some point after the unpackaging.It seems odd that we clearly define the manifest retrieval and priorities for the "single HTML file" but we do not for the "packaged" stage.
On the other hand, I can hardly see how we could do that given that we leave the packaging solution entirely open...
Exactly. We do not even know what packaging we would use. In other words, we have no choice than to leave this open for now.
You are right that we may have a situation whereby the manifest retrieval from within a package would follow the same principles. Actually, that is what I would prefer, personally, and that would mean the same algorithm could be used. That is all fineβ¦.
from dpub-pwp-loc.
I have added a separate note after the algorithm referring the issue that handling a package is, in this respect, a black box. See PR #25.
from dpub-pwp-loc.
Closed as per discussion on today's call
from dpub-pwp-loc.
Related Issues (19)
- What to do with a locally downloaded PWP?
- What to do with a PWP that is published nowhere, i.e., are created locally?
- Server-side operations HOT 3
- Editorial: use the example.org domain for example URLs
- Editorial: clarify the use of L, P, M, etc HOT 5
- Describe an example of M+L retrieval as an algorithm? HOT 1
- Change M1 and M2 to Ma and Mb in the definition? HOT 1
- Explicitly describe manifest order? HOT 1
- isn't the real objective of the algorithm to retrieve the manifest? HOT 2
- Are details of manifest retrieval in scope for this Note? HOT 1
- Hierarchy of identifiers/locators (was: Consider finding a different name for "canonical locator") HOT 13
- Should packaged states impose the same structure as the unpacked state?
- Should the resources in a PWP follow a hierarchical "tree like" structure? HOT 1
- Do we have to specify what happens when the PWP processor already has a cached version? HOT 1
- What is the relative priority of various manifests? HOT 6
- Do we have to be exhaustive in the various options on getting to manifests? HOT 1
- Preference of media type (a.k.a. content) of the PWP processor
- How to fetch a resource from within a PWP? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpub-pwp-loc.