Skip to content
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

identifying resources as being part of a webbook #13

Open
dauwhe opened this issue Jan 19, 2018 · 4 comments
Open

identifying resources as being part of a webbook #13

dauwhe opened this issue Jan 19, 2018 · 4 comments

Comments

@dauwhe
Copy link

dauwhe commented Jan 19, 2018

If you follow a link to a resource of a webbook (besides the directory or index.html), is there any way a user agent could determine that the resource is part of a webbook?

Should all resources of a webbook have a rel=contents or rel=index link to index.html?

@dauwhe dauwhe changed the title identifying resources as being part of a webbok identifying resources as being part of a webbook Jan 19, 2018
@therealglazou
Copy link
Owner

@dauwhe : @frivoal discussed it a bit and yes, we would like to leverage the link/rel mechanism that went so much under the radars. That said, I have a corollary question: a link will help finding the navigation document but do we need to indicate clearly this is part of a webbook?

@dauwhe
Copy link
Author

dauwhe commented Jan 22, 2018

@therealglazou It would be great if resources could identify themselves as being part of a webbook. This would allow the user agent or script to provide a reading experience better suited to webbooks, even if the user didn't start from the canonical URL.

@frivoal
Copy link
Contributor

frivoal commented Jan 23, 2018

For reference:

From these, I think the best is probably rel=toc (from microformats), although rel=up from MDN may be OK as well.

I wonder how well established these are.

@therealglazou
Copy link
Owner

Could PR #15 be an answer to this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants