w3c / audiobooks

Audiobook profile of a Web Publication
https://w3c.github.io/audiobooks/
Other
29 stars 9 forks source link

Add primary entry page to resources when not a publication resource #75

Open mattgarrish opened 4 years ago

mattgarrish commented 4 years ago

The primary entry page is a required publication resource, but right now all the publication manifest algorithm does is warn if it is not present in either the reading order or resource list.

Audiobooks could add a step to automatically add the document to the resource list if it's not there to avoid the warning, similar to how pub manifest adds the document to the reading order as a last resort (fyi, it can't for audiobooks, as audiobooks fail earlier if there isn't a reading order).

Or we could just punt on this as an idea for the future if it actually proves to be a real pain to have to list.

llemeurfr commented 4 years ago

Why not simply remove the URL of the PEP from the manifest?

see details on this position on https://github.com/w3c/audiobooks/issues/61#issuecomment-687257882

mattgarrish commented 4 years ago

Why not simply remove the URL of the PEP from the manifest?

You can, but it becomes more inconsistent with web publications, for whatever that matters anymore. Automatically adding it to the resource list satisfies the original requirement for it to appear in one of the lists.

llemeurfr commented 4 years ago

it becomes more inconsistent with web publications

Not if the Web Publications Note is modified in parallel :-)

llemeurfr commented 4 years ago

But I understand your point, and after all keeping the URL of the PEP in the Manifest in-memory object helps for displaying easily the PEP at the request of the user.

wareid commented 4 years ago

Can we close this issue as well? (per #61 )

llemeurfr commented 4 years ago

I don't think so: there is a processing model to modify in a future version.