W3C home > Mailing lists > Public > public-html-comments@w3.org > July 2010

Re: rel=bookmark & sectioning clarification requested

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 27 Jul 2010 22:14:17 +0000 (UTC)
To: Nathan <nathan@webr3.org>
cc: public-html-comments@w3.org
Message-ID: <Pine.LNX.4.64.1007272212040.7470@ps20323.dreamhostps.com>
On Sat, 5 Jun 2010, Nathan wrote:
> 
> In regards to using rel="boomark" [1] on an <a> tag which includes an href
> atribute
> 
> The spec contains the following example (snipped)
> 
>  <body>
>   <h1>Example of permalinks</h1>
>   <div id="a">
>    <h2>First example</h2>
>    <p><a href="a.html" rel="bookmark">This</a> permalink applies to
>    only the content from the first H2 to the second H2. The DIV isn't
>    exactly that section, but it roughly corresponds to it.</p>
>   </div>
>   <h2>Second example</h2>
> ...
> 
> Personally I find the inclusion of the <div id="a"> slightly confusing, 
> because all the noted 'sections' in the example have an @id, it 
> indicates (albeit indirectly) that 'the section the linking element is 
> most closely associated with' is taken to be the element most closely 
> associated which has an @id.

I considered removing them, but I think it would be just as confusing. At 
least with the id=""s you can get an idea of which element represents 
which section.


> Thus to clarify, is the following correct?:
> 
>  <body>
>   <h1>Example of permalinks</h1>
>    <h2>First example</h2>
>    <p><a href="egg.html" rel="bookmark">This</a> permalink applies to
>    only the content from the first H2 to the second H2. Including the
>    content within the following H3.</p>
>    <h3>First Child Example</h3>
>    <p><a href="shell.html" rel="bookmark">This</a> permalink applies to
>    only the content from the first H3 to the next H3, or if no
>    following H3 is found then next heading with a higher rank, in this
>    case the following H2.
>    <h2>Second example</h2>
> ...

Yes.


> Finally, and partially to give some context, I would like to have a document
> which is comprised of lots of smaller sections of content (all available via
> their own URLs, and some curated from sections of external documents) and for
> it to be clear to the reader that each section is from another document,
> and/or available standalone in another document, and in context comprises part
> of the content of the document they are currently reading - using rel=bookmark
> and various sectioning methods appears to cover this semantically, but will
> this be reflected to the user in any useful way by the main browsers; or is it
> something I'll need to handle myself.

You'll have to do the styling yourself.


> in some ways does this conflict with '<q cite="...' or could they be 
> used together or?

Generally speaking rel=bookmark is used in syndication cases, where it 
wouldn't be considered a quote so much as an alternative publication.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 27 July 2010 22:14:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 June 2011 00:14:04 GMT