Permalink
Browse files

rel=sidebar, rel=tag

git-svn-id: http://svn.whatwg.org/webapps@346 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent b7ac09f commit 848886ead9ec5debe7410795202873598915aa13 @Hixie Hixie committed Nov 22, 2006
Showing with 80 additions and 38 deletions.
  1. +52 −18 index
  2. +28 −20 source
View
70 index
@@ -735,35 +735,42 @@
type "<dfn id=stylesheet
title=rel-stylesheet><code>stylesheet</code></dfn>"</a>
- <li><a href="#hierarchical"><span class=secno>4.5.3.16.
+ <li><a href="#link-type14"><span class=secno>4.5.3.16. </span>Link
+ type "<dfn id=sidebar
+ title=rel-sidebar><code>sidebar</code></dfn>"</a>
+
+ <li><a href="#link-type15"><span class=secno>4.5.3.17. </span>Link
+ type "<dfn id=tag title=rel-tag><code>tag</code></dfn>"</a>
+
+ <li><a href="#hierarchical"><span class=secno>4.5.3.18.
</span>Hierarchical link types</a>
<ul class=toc>
- <li><a href="#link-type14"><span class=secno>4.5.3.16.1.
+ <li><a href="#link-type16"><span class=secno>4.5.3.18.1.
</span>Link type "<dfn id=first
title=rel-first><code>first</code></dfn>"</a>
- <li><a href="#link-type15"><span class=secno>4.5.3.16.2.
+ <li><a href="#link-type17"><span class=secno>4.5.3.18.2.
</span>Link type "<dfn id=index
title=rel-index><code>index</code></dfn>"</a>
- <li><a href="#link-type16"><span class=secno>4.5.3.16.3.
+ <li><a href="#link-type18"><span class=secno>4.5.3.18.3.
</span>Link type "<dfn id=last
title=rel-last><code>last</code></dfn>"</a>
- <li><a href="#link-type17"><span class=secno>4.5.3.16.4.
+ <li><a href="#link-type19"><span class=secno>4.5.3.18.4.
</span>Link type "<dfn id=next
title=rel-next><code>next</code></dfn>"</a>
- <li><a href="#link-type18"><span class=secno>4.5.3.16.5.
+ <li><a href="#link-type20"><span class=secno>4.5.3.18.5.
</span>Link type "<dfn id=prev
title=rel-prev><code>prev</code></dfn>"</a>
- <li><a href="#link-type19"><span class=secno>4.5.3.16.6.
+ <li><a href="#link-type21"><span class=secno>4.5.3.18.6.
</span>Link type "<dfn id=up
title=rel-up><code>up</code></dfn>"</a>
</ul>
- <li><a href="#other"><span class=secno>4.5.3.17. </span>Other link
+ <li><a href="#other"><span class=secno>4.5.3.19. </span>Other link
types</a>
</ul>
@@ -15087,7 +15094,7 @@ XXX selection ranges -->
<td>Imports a stylesheet.
<tr>
- <td><code title=rel-sidebar>sidebar</code></td>
+ <td><code title=rel-sidebar><a href="#sidebar0">sidebar</a></code></td>
<!-- used quite a bit -->
<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>
@@ -15098,7 +15105,7 @@ XXX selection ranges -->
be shown in the browser's sidebar (if it has one).
<tr>
- <td><code title=rel-tag>tag</code></td>
+ <td><code title=rel-tag><a href="#tag0">tag</a></code></td>
<!-- second and third most used <a rel> value (third is technically "category tag"). -->
<td><a href="#hyperlink0" title="hyperlink link">Hyperlink</a>
@@ -15474,7 +15481,34 @@ XXX selection ranges -->
alternate stylesheet API. Maybe this should all be deferred to another
processing model section.
- <h5 id=hierarchical><span class=secno>4.5.3.16. </span>Hierarchical link
+ <h5 id=link-type14><span class=secno>4.5.3.16. </span>Link type "<dfn
+ id=sidebar0 title=rel-sidebar><code>sidebar</code></dfn>"</h5>
+
+ <p>The <code title=rel-sidebar><a href="#sidebar0">sidebar</a></code>
+ keyword may be used with <code><a href="#link0">link</a></code>, <code><a
+ href="#a0">a</a></code>, and <code><a href="#area0">area</a></code>
+ elements. For <code><a href="#link0">link</a></code> elements, it creates
+ a <a href="#hyperlink0" title="hyperlink link">hyperlink</a>.
+
+ <p>The <code title=rel-sidebar><a href="#sidebar0">sidebar</a></code>
+ keyword indicates that the referenced document, if retrieved, is intended
+ to be shown in a secondary browsing context (if possible), instead of in
+ the current browsing context.
+
+ <h5 id=link-type15><span class=secno>4.5.3.17. </span>Link type "<dfn
+ id=tag0 title=rel-tag><code>tag</code></dfn>"</h5>
+
+ <p>The <code title=rel-tag><a href="#tag0">tag</a></code> keyword may be
+ used with <code><a href="#link0">link</a></code>, <code><a
+ href="#a0">a</a></code>, and <code><a href="#area0">area</a></code>
+ elements. For <code><a href="#link0">link</a></code> elements, it creates
+ a <a href="#hyperlink0" title="hyperlink link">hyperlink</a>.
+
+ <p>The <code title=rel-tag><a href="#tag0">tag</a></code> keyword indicates
+ that the <em>tag</em> that the referenced document represents applies to
+ the current document.
+
+ <h5 id=hierarchical><span class=secno>4.5.3.18. </span>Hierarchical link
types</h5>
<p>Some documents form part of a hierarchical structure of documents.
@@ -15487,7 +15521,7 @@ XXX selection ranges -->
<em>previous sibling</em>, and the one that follows it is its <em>next
sibling</em>. A document with no parent forms the top of the hierarchy.
- <h6 id=link-type14><span class=secno>4.5.3.16.1. </span>Link type "<dfn
+ <h6 id=link-type16><span class=secno>4.5.3.18.1. </span>Link type "<dfn
id=first0 title=rel-first><code>first</code></dfn>"</h6>
<p>The <code title=rel-first><a href="#first0">first</a></code> keyword may
@@ -15506,7 +15540,7 @@ XXX selection ranges -->
title="">start</code>" like the <code title=rel-first><a
href="#first0">first</a></code> keyword.
- <h6 id=link-type15><span class=secno>4.5.3.16.2. </span>Link type "<dfn
+ <h6 id=link-type17><span class=secno>4.5.3.18.2. </span>Link type "<dfn
id=index0 title=rel-index><code>index</code></dfn>"</h6>
<p>The <code title=rel-index><a href="#index0">index</a></code> keyword may
@@ -15524,7 +15558,7 @@ XXX selection ranges -->
title="">contents</code>", and "<code title="">toc</code>" like the <code
title=rel-index><a href="#index0">index</a></code> keyword.
- <h6 id=link-type16><span class=secno>4.5.3.16.3. </span>Link type "<dfn
+ <h6 id=link-type18><span class=secno>4.5.3.18.3. </span>Link type "<dfn
id=last0 title=rel-last><code>last</code></dfn>"</h6>
<p>The <code title=rel-last><a href="#last0">last</a></code> keyword may be
@@ -15542,7 +15576,7 @@ XXX selection ranges -->
treat the keyword "<code title="">end</code>" like the <code
title=rel-last><a href="#last0">last</a></code> keyword.
- <h6 id=link-type17><span class=secno>4.5.3.16.4. </span>Link type "<dfn
+ <h6 id=link-type19><span class=secno>4.5.3.18.4. </span>Link type "<dfn
id=next0 title=rel-next><code>next</code></dfn>"</h6>
<p>The <code title=rel-next><a href="#next0">next</a></code> keyword may be
@@ -15556,7 +15590,7 @@ XXX selection ranges -->
the link is leading to the document that is the next sibling of the
current document.
- <h6 id=link-type18><span class=secno>4.5.3.16.5. </span>Link type "<dfn
+ <h6 id=link-type20><span class=secno>4.5.3.18.5. </span>Link type "<dfn
id=prev0 title=rel-prev><code>prev</code></dfn>"</h6>
<p>The <code title=rel-prev><a href="#prev0">prev</a></code> keyword may be
@@ -15574,7 +15608,7 @@ XXX selection ranges -->
treat the keyword "<code title="">previous</code>" like the <code
title=rel-prev><a href="#prev0">prev</a></code> keyword.
- <h6 id=link-type19><span class=secno>4.5.3.16.6. </span>Link type "<dfn
+ <h6 id=link-type21><span class=secno>4.5.3.18.6. </span>Link type "<dfn
id=up0 title=rel-up><code>up</code></dfn>"</h6>
<p>The <code title=rel-up><a href="#up0">up</a></code> keyword may be used
@@ -15640,7 +15674,7 @@ disallow: http://microformats.org/wiki/rel-enclosure
-->
- <h5 id=other><span class=secno>4.5.3.17. </span>Other link types</h5>
+ <h5 id=other><span class=secno>4.5.3.19. </span>Other link types</h5>
<p class=big-issue>Address extensibility.
View
48 source
@@ -13616,6 +13616,31 @@ XXX selection ranges -->
deferred to another processing model section.</p>
+ <h5>Link type "<dfn title="rel-sidebar"><code>sidebar</code></dfn>"</h5>
+
+ <p>The <code title="rel-sidebar">sidebar</code> keyword may be used
+ with <code>link</code>, <code>a</code>, and <code>area</code>
+ elements. For <code>link</code> elements, it creates a <span
+ title="hyperlink link">hyperlink</span>.</p>
+
+ <p>The <code title="rel-sidebar">sidebar</code> keyword indicates
+ that the referenced document, if retrieved, is intended to be shown
+ in a secondary browsing context (if possible), instead of in the
+ current browsing context.</p>
+
+
+ <h5>Link type "<dfn title="rel-tag"><code>tag</code></dfn>"</h5>
+
+ <p>The <code title="rel-tag">tag</code> keyword may be used
+ with <code>link</code>, <code>a</code>, and <code>area</code>
+ elements. For <code>link</code> elements, it creates a <span
+ title="hyperlink link">hyperlink</span>.</p>
+
+ <p>The <code title="rel-tag">tag</code> keyword indicates that the
+ <em>tag</em> that the referenced document represents applies to the
+ current document.</p>
+
+
<h5>Hierarchical link types</h5>
<p>Some documents form part of a hierarchical structure of
@@ -13738,37 +13763,20 @@ XXX selection ranges -->
-->
- <!--
-this section defines whether a particular link type is an external resource or a hyperlink
-
+ <!--XXX
issues for rel="", etc:
rel="alternate stylesheet"
- rel="feed" vs rel="alternate" type="application/rss+xml"
- rel="icon"
rel="script"
rel="related" // see also
- rel="prefetch"
- rel="help" (Charles McCathieNevile): alternative to help="". give algo for nearest con.-sen. help
- `-> "Nearness" seems in general like a really bad way to guess where the
- > help is. Do you mean closest in the markup, or in the laid-out
- > rendering? If the link were required to be inside a label in order to be
- > associated with a form control, that might make sense though.
- rel="nofollow" - http://www.google.com/googleblog/2005/01/preventing-comment-spam.html
- Refers to a resource that may be related to the linking
- document, but is not endorsed by the author. This should
- not be counted as a negative rating for the resource,
- however. - http://www.w3.org/mid/41F0E7FA.4060301@iinet.net.au
- - http://radio.weblogs.com/0001011/2005/01/31.html#a9301 (scoble on why it isn't bad)
which relationship combinations are allowed
- what multiple values might mean (multiple rel="top")
- removal of redundancy
+ what multiple values might mean (multiple <a rel="top"> in the same document)
http://www.euronet.nl/~tekelenb/WWW/LINK/
http://shift.freezope.org/konq_rellinks/development_html
http://hixie.ch/specs/html/link/001
http://hixie.ch/specs/html/link/002
http://www.hixie.ch/specs/html/metadata
-
+ what UAs are supposed to do with this
mpt says:
> "As with <a> elements, when <link> elements that use these relationships

0 comments on commit 848886e

Please sign in to comment.