Giter Site home page Giter Site logo

Comments (4)

bjdmeest avatar bjdmeest commented on June 7, 2024

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 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...

β€”
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.

iherman avatar iherman commented on June 7, 2024

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.

iherman avatar iherman commented on June 7, 2024

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.

bjdmeest avatar bjdmeest commented on June 7, 2024

Closed as per discussion on today's call

from dpub-pwp-loc.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.