webbook icon indicating copy to clipboard operation
webbook copied to clipboard

identifying resources as being part of a webbook

Open dauwhe opened this issue 8 years ago • 4 comments

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 avatar Jan 19 '18 15:01 dauwhe

@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?

therealglazou avatar Jan 22 '18 03:01 therealglazou

@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.

dauwhe avatar Jan 22 '18 15:01 dauwhe

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.

frivoal avatar Jan 23 '18 00:01 frivoal

Could PR #15 be an answer to this issue?

therealglazou avatar Feb 02 '18 16:02 therealglazou