audiobooks icon indicating copy to clipboard operation
audiobooks copied to clipboard

Add primary entry page to resources when not a publication resource

Open mattgarrish opened this issue 5 years ago • 6 comments

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.

mattgarrish avatar Feb 13 '20 16:02 mattgarrish

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

llemeurfr avatar Sep 09 '20 14:09 llemeurfr

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.

mattgarrish avatar Sep 09 '20 14:09 mattgarrish

it becomes more inconsistent with web publications

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

llemeurfr avatar Sep 09 '20 15:09 llemeurfr

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.

llemeurfr avatar Sep 09 '20 15:09 llemeurfr

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

wareid avatar Sep 09 '20 15:09 wareid

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

llemeurfr avatar Sep 09 '20 15:09 llemeurfr