-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of "alternate" to reference an item in the resources list #27
Comments
That makes sense to me, saves referencing something twice in the manifest, but I would love feedback from @mattgarrish on his perspective on this. |
Yes, the example is invalid because the processing rules for the manifest will turn strings in
But if this happens, the required The processing algorithm also needs revising. If a bare string is used in alternate, the URL should be removed, unless we want to let user agents guess at the media type. |
And to correct myself here, the example is invalid, but for the different reason that you're not supposed to repeat resource in both lists. It would still be better to update the example to show proper linkedresource objects than use strings:
|
And in example 12, which shows an HTML alternate for an mp3 file - I would think the same correction applies. |
I have a question about the use of
alternate
- in this thread, @mattgarrish mentioned avoiding IDREF-style constructs.So we defined
alternate
as a (list of) URL(s) orLinkedResource
instance(s).In the audiobooks spec’s sync media example, I see that
alternate
references a URL which can be resolved using the resources list.I don't see that pub-manifest prohibits this but I also don't see any examples of the resource list being referenced by the reading order in this way.
So my question is if we should rewrite this example to show
alternate
directly containing aLinkedResource
object.The text was updated successfully, but these errors were encountered: