You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The primary entry page represents the preferred starting resource for a Web Publication and enables discovery of its manifest. It is an [HTML] resource that is returned when accessing the Web Publication's address, and MUST be included in either the default reading order or the resource list.
If a Web Publication address ended in a / and the primary entry page were served as the default resource (per the above), then the Web Publication address could be /moby-dick/ while the primary entry page's URL would be /moby-dick/index.html (or similar).
This does presume that the URL scheme (and the servers providing responses) can also provide such a "default resource" which itself would have it's own URL.
An alternative to requiring that Web Publication addresses end in / would be to require a fragment identifier be included in the publication address. However, those cannot be dictated by anything other than their content. That said, if the manifest were required to be embedded, it would already have an id which referenced the "binding material" (i.e. the manifest) of the publication.
In which case, the URL's would be /moby-dick/index.html#publication as the publication address (assuming <script id="publication"> in the PEP) and /moby-dick/index.html for the URL of the PEP. This does have the added possible value that one could attempt to do "direct" discovery (rather than using <link rel="publication" href="#publication">) when such a URL is used.
So...I'd propose we consider two options:
requiring Web Publication addresses to end in /
requiring Web Publication addresses to use the id of the embedded manifest
Using the URL of an un-embedded manifest has no fallback mechanism and would result in the display of a JSON to the human reader using current UAs (if it displayed at all). Whereas, both the above options would still result in the display of the Primary Entry Page.
The text was updated successfully, but these errors were encountered:
Issue #327 has already been discussed and closed, and the WG decision is that an embedded manifest is RECOMMENDED but not REQUIRED. We should not re-open an issue unless new problems/use cases, etc., came to the fore.
I think the only option we should discuss is the first, i.e.,
Finally following up the action I took in w3c/publ-wg#48 (because I haven't been able to locate my earlier draft...). This partly relates to #453.
The beginning of the Primary Entry Page section begins with this text:
If a Web Publication address ended in a
/
and the primary entry page were served as the default resource (per the above), then the Web Publication address could be/moby-dick/
while the primary entry page's URL would be/moby-dick/index.html
(or similar).This does presume that the URL scheme (and the servers providing responses) can also provide such a "default resource" which itself would have it's own URL.
An alternative to requiring that Web Publication addresses end in
/
would be to require a fragment identifier be included in the publication address. However, those cannot be dictated by anything other than their content. That said, if the manifest were required to be embedded, it would already have anid
which referenced the "binding material" (i.e. the manifest) of the publication.In which case, the URL's would be
/moby-dick/index.html#publication
as the publication address (assuming<script id="publication">
in the PEP) and/moby-dick/index.html
for the URL of the PEP. This does have the added possible value that one could attempt to do "direct" discovery (rather than using<link rel="publication" href="#publication">
) when such a URL is used.So...I'd propose we consider two options:
/
id
of the embedded manifestUsing the URL of an un-embedded manifest has no fallback mechanism and would result in the display of a JSON to the human reader using current UAs (if it displayed at all). Whereas, both the above options would still result in the display of the Primary Entry Page.
The text was updated successfully, but these errors were encountered: