[html5] r4964 - [a] (0) Define rel=alternate for feeds as something conforming. Fixing http://ww [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sun Apr 4 00:03:06 PDT 2010
Author: ianh
Date: 2010-04-04 00:03:05 -0700 (Sun, 04 Apr 2010)
New Revision: 4964
Modified:
complete.html
index
source
Log:
[a] (0) Define rel=alternate for feeds as something conforming.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9051
Modified: complete.html
===================================================================
--- complete.html 2010-04-04 06:33:22 UTC (rev 4963)
+++ complete.html 2010-04-04 07:03:05 UTC (rev 4964)
@@ -46797,97 +46797,109 @@
<p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword may be
used with <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, and <code><a href=#the-area-element>area</a></code>
- elements. For <code><a href=#the-link-element>link</a></code> elements, if the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute does not also contain the
- keyword <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>, it creates a
- <a href=#hyperlink-link title="hyperlink link">hyperlink</a>; but if it
- <em>does</em> also contain the keyword <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>, the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword instead modifies the
- meaning of the <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>
- keyword in the way described for that keyword, and the rest of this
- subsection doesn't apply.</p>
+ elements.</p>
- <p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword
- indicates that the referenced document is an alternate
- representation of the current document.</p>
+ <p>The meaning of this keyword depends on the values of the other
+ attributes.</p>
- <p>The nature of the referenced document is given by the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes.</p>
+ <dl class=switch><dt>If the element is a <code><a href=#the-link-element>link</a></code> element and the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute also contains the
+ keyword <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code></dt>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>
- attribute, it indicates that the referenced document is intended for
- use with the media specified.</p>
+ <dd>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>
- attribute, and that attribute's value differs from the <a href=#root-element>root
- element</a>'s <a href=#language>language</a>, it indicates that the
- referenced document is a translation.</p>
+ <p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword
+ modifies the meaning of the <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code> keyword in the way
+ described for that keyword. The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword does not create a
+ link of its own.</p>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
- attribute, it indicates that the referenced document is a
- reformulation of the current document in the specified format.</p>
+ </dd>
- <p>The <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes can be combined
- when specified with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>
- keyword.</p>
- <div class=example>
+ <dt>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
+ attribute set to the value <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code></dt>
- <p>For example, the following link is a French translation that
- uses the PDF format:</p>
+ <dd>
- <pre><link rel=alternate type=application/pdf hreflang=fr href=manual-fr></pre>
+ <p>The link is a <a href=#hyperlink-link title="hyperlink link">hyperlink</a>
+ referencing a syndication feed (though not necessarily syndicating
+ exactly the same content as the current page).</p>
- </div>
+ <div class=impl>
- <div class=impl>
+ <p>The first <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, or <code><a href=#the-area-element>area</a></code>
+ element in the document (in tree order) with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attribute set to the value
+ <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code> must be treated as the default
+ syndication feed for the purposes of feed autodiscovery.</p>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
- attribute set to the value <code title="">application/rss+xml</code>
- or the value <code title="">application/atom+xml</code>, then it
- indicates that the referenced document is a syndication feed (though
- not necessarily syndicating exactly the same content as the current
- page).</p>
-
- <div class=impl>
-
- <p>The first <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, or <code><a href=#the-area-element>area</a></code>
- element in the document (in tree order) with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attribute set to the value
- <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code> must be treated as the default
- syndication feed for the purposes of feed autodiscovery.</p>
-
- <div class=example>
- <p>The following <code><a href=#the-link-element>link</a></code> element gives the syndication
- feed for the current page:</p>
- <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
- <p>The following extract offers various different syndication
- feeds:</p>
- <pre><p>You can access the planets database using Atom feeds:</p>
+ <div class=example>
+ <p>The following <code><a href=#the-link-element>link</a></code> element gives the syndication
+ feed for the current page:</p>
+ <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
+ <p>The following extract offers various different syndication
+ feeds:</p>
+ <pre><p>You can access the planets database using Atom feeds:</p>
<ul>
<li><a href="recently-visited-planets.xml" rel="alternate" type="application/atom+xml">Recently Visited Planets</a></li>
<li><a href="known-bad-planets.xml" rel="alternate" type="application/atom+xml">Known Bad Planets</a></li>
<li><a href="unexplored-planets.xml" rel="alternate" type="application/atom+xml">Unexplored Planets</a></li>
</ul></pre>
- </div>
+ </div>
- </div>
+ </div>
+ </dd>
+ <dt>Otherwise</dt>
- </div>
+ <dd>
- <p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> link
- relationship is transitive — that is, if a document links to
- two other documents with the link type "<code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>", then, in addition to
- implying that those documents are alternative representations of the
- first document, it is also implying that those two documents are
- alternative representations of each other.</p>
+ <p>The link is a <a href=#hyperlink-link title="hyperlink link">hyperlink</a>
+ referencing an alternate representation of the current
+ document.</p>
+ <p>The nature of the referenced document is given by the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes.</p>
- <h5 id=link-type-archives><span class=secno>4.12.3.2 </span>Link type "<dfn title=rel-archives><code>archives</code></dfn>"</h5>
+ <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>
+ attribute, it indicates that the referenced document is intended for
+ use with the media specified.</p>
+ <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>
+ attribute, and that attribute's value differs from the <a href=#root-element>root
+ element</a>'s <a href=#language>language</a>, it indicates that the
+ referenced document is a translation.</p>
+
+ <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
+ attribute, it indicates that the referenced document is a
+ reformulation of the current document in the specified format.</p>
+
+ <p>The <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes can be combined
+ when specified with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>
+ keyword.</p>
+
+ <div class=example>
+
+ <p>For example, the following link is a French translation that
+ uses the PDF format:</p>
+
+ <pre><link rel=alternate type=application/pdf hreflang=fr href=manual-fr></pre>
+
+ </div>
+
+ <p>This relationship is transitive — that is, if a document
+ links to two other documents with the link type "<code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>", then, in addition to
+ implying that those documents are alternative representations of
+ the first document, it is also implying that those two documents
+ are alternative representations of each other.</p>
+
+ </dd>
+
+ </dl><h5 id=link-type-archives><span class=secno>4.12.3.2 </span>Link type "<dfn title=rel-archives><code>archives</code></dfn>"</h5>
+
<p>The <code title=rel-archives><a href=#link-type-archives>archives</a></code> keyword may be
used with <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, and <code><a href=#the-area-element>area</a></code>
elements. For <code><a href=#the-link-element>link</a></code> elements, it creates a <a href=#hyperlink-link title="hyperlink link">hyperlink</a>.</p>
Modified: index
===================================================================
--- index 2010-04-04 06:33:22 UTC (rev 4963)
+++ index 2010-04-04 07:03:05 UTC (rev 4964)
@@ -46698,97 +46698,109 @@
<p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword may be
used with <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, and <code><a href=#the-area-element>area</a></code>
- elements. For <code><a href=#the-link-element>link</a></code> elements, if the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute does not also contain the
- keyword <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>, it creates a
- <a href=#hyperlink-link title="hyperlink link">hyperlink</a>; but if it
- <em>does</em> also contain the keyword <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>, the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword instead modifies the
- meaning of the <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code>
- keyword in the way described for that keyword, and the rest of this
- subsection doesn't apply.</p>
+ elements.</p>
- <p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword
- indicates that the referenced document is an alternate
- representation of the current document.</p>
+ <p>The meaning of this keyword depends on the values of the other
+ attributes.</p>
- <p>The nature of the referenced document is given by the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes.</p>
+ <dl class=switch><dt>If the element is a <code><a href=#the-link-element>link</a></code> element and the <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute also contains the
+ keyword <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code></dt>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>
- attribute, it indicates that the referenced document is intended for
- use with the media specified.</p>
+ <dd>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>
- attribute, and that attribute's value differs from the <a href=#root-element>root
- element</a>'s <a href=#language>language</a>, it indicates that the
- referenced document is a translation.</p>
+ <p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword
+ modifies the meaning of the <code title=rel-stylesheet><a href=#link-type-stylesheet>stylesheet</a></code> keyword in the way
+ described for that keyword. The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword does not create a
+ link of its own.</p>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
- attribute, it indicates that the referenced document is a
- reformulation of the current document in the specified format.</p>
+ </dd>
- <p>The <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes can be combined
- when specified with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>
- keyword.</p>
- <div class=example>
+ <dt>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
+ attribute set to the value <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code></dt>
- <p>For example, the following link is a French translation that
- uses the PDF format:</p>
+ <dd>
- <pre><link rel=alternate type=application/pdf hreflang=fr href=manual-fr></pre>
+ <p>The link is a <a href=#hyperlink-link title="hyperlink link">hyperlink</a>
+ referencing a syndication feed (though not necessarily syndicating
+ exactly the same content as the current page).</p>
- </div>
+ <div class=impl>
- <div class=impl>
+ <p>The first <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, or <code><a href=#the-area-element>area</a></code>
+ element in the document (in tree order) with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attribute set to the value
+ <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code> must be treated as the default
+ syndication feed for the purposes of feed autodiscovery.</p>
- <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
- used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
- attribute set to the value <code title="">application/rss+xml</code>
- or the value <code title="">application/atom+xml</code>, then it
- indicates that the referenced document is a syndication feed (though
- not necessarily syndicating exactly the same content as the current
- page).</p>
-
- <div class=impl>
-
- <p>The first <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, or <code><a href=#the-area-element>area</a></code>
- element in the document (in tree order) with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attribute set to the value
- <code title="">application/rss+xml</code> or the value <code title="">application/atom+xml</code> must be treated as the default
- syndication feed for the purposes of feed autodiscovery.</p>
-
- <div class=example>
- <p>The following <code><a href=#the-link-element>link</a></code> element gives the syndication
- feed for the current page:</p>
- <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
- <p>The following extract offers various different syndication
- feeds:</p>
- <pre><p>You can access the planets database using Atom feeds:</p>
+ <div class=example>
+ <p>The following <code><a href=#the-link-element>link</a></code> element gives the syndication
+ feed for the current page:</p>
+ <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
+ <p>The following extract offers various different syndication
+ feeds:</p>
+ <pre><p>You can access the planets database using Atom feeds:</p>
<ul>
<li><a href="recently-visited-planets.xml" rel="alternate" type="application/atom+xml">Recently Visited Planets</a></li>
<li><a href="known-bad-planets.xml" rel="alternate" type="application/atom+xml">Known Bad Planets</a></li>
<li><a href="unexplored-planets.xml" rel="alternate" type="application/atom+xml">Unexplored Planets</a></li>
</ul></pre>
- </div>
+ </div>
- </div>
+ </div>
+ </dd>
+ <dt>Otherwise</dt>
- </div>
+ <dd>
- <p>The <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> link
- relationship is transitive — that is, if a document links to
- two other documents with the link type "<code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>", then, in addition to
- implying that those documents are alternative representations of the
- first document, it is also implying that those two documents are
- alternative representations of each other.</p>
+ <p>The link is a <a href=#hyperlink-link title="hyperlink link">hyperlink</a>
+ referencing an alternate representation of the current
+ document.</p>
+ <p>The nature of the referenced document is given by the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes.</p>
- <h5 id=link-type-archives><span class=secno>4.12.3.2 </span>Link type "<dfn title=rel-archives><code>archives</code></dfn>"</h5>
+ <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>
+ attribute, it indicates that the referenced document is intended for
+ use with the media specified.</p>
+ <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>
+ attribute, and that attribute's value differs from the <a href=#root-element>root
+ element</a>'s <a href=#language>language</a>, it indicates that the
+ referenced document is a translation.</p>
+
+ <p>If the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code> keyword is
+ used with the <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code>
+ attribute, it indicates that the referenced document is a
+ reformulation of the current document in the specified format.</p>
+
+ <p>The <code title=attr-hyperlink-media><a href=#attr-hyperlink-media>media</a></code>, <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>hreflang</a></code>, and <code title=attr-hyperlink-type><a href=#attr-hyperlink-type>type</a></code> attributes can be combined
+ when specified with the <code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>
+ keyword.</p>
+
+ <div class=example>
+
+ <p>For example, the following link is a French translation that
+ uses the PDF format:</p>
+
+ <pre><link rel=alternate type=application/pdf hreflang=fr href=manual-fr></pre>
+
+ </div>
+
+ <p>This relationship is transitive — that is, if a document
+ links to two other documents with the link type "<code title=rel-alternate><a href=#link-type-alternate>alternate</a></code>", then, in addition to
+ implying that those documents are alternative representations of
+ the first document, it is also implying that those two documents
+ are alternative representations of each other.</p>
+
+ </dd>
+
+ </dl><h5 id=link-type-archives><span class=secno>4.12.3.2 </span>Link type "<dfn title=rel-archives><code>archives</code></dfn>"</h5>
+
<p>The <code title=rel-archives><a href=#link-type-archives>archives</a></code> keyword may be
used with <code><a href=#the-link-element>link</a></code>, <code><a href=#the-a-element>a</a></code>, and <code><a href=#the-area-element>area</a></code>
elements. For <code><a href=#the-link-element>link</a></code> elements, it creates a <a href=#hyperlink-link title="hyperlink link">hyperlink</a>.</p>
Modified: source
===================================================================
--- source 2010-04-04 06:33:22 UTC (rev 4963)
+++ source 2010-04-04 07:03:05 UTC (rev 4964)
@@ -52074,107 +52074,126 @@
<p>The <code title="rel-alternate">alternate</code> keyword may be
used with <code>link</code>, <code>a</code>, and <code>area</code>
- elements. For <code>link</code> elements, if the <code
- title="attr-link-rel">rel</code> attribute does not also contain the
- keyword <code title="rel-stylesheet">stylesheet</code>, it creates a
- <span title="hyperlink link">hyperlink</span>; but if it
- <em>does</em> also contain the keyword <code
- title="rel-stylesheet">stylesheet</code>, the <code
- title="rel-alternate">alternate</code> keyword instead modifies the
- meaning of the <code title="rel-stylesheet">stylesheet</code>
- keyword in the way described for that keyword, and the rest of this
- subsection doesn't apply.</p>
+ elements.</p>
- <p>The <code title="rel-alternate">alternate</code> keyword
- indicates that the referenced document is an alternate
- representation of the current document.</p>
+ <p>The meaning of this keyword depends on the values of the other
+ attributes.</p>
- <p>The nature of the referenced document is given by the <code
- title="attr-hyperlink-media">media</code>, <code
- title="attr-hyperlink-hreflang">hreflang</code>, and <code
- title="attr-hyperlink-type">type</code> attributes.</p>
+ <dl class="switch">
- <p>If the <code title="rel-alternate">alternate</code> keyword is
- used with the <code title="attr-hyperlink-media">media</code>
- attribute, it indicates that the referenced document is intended for
- use with the media specified.</p>
+ <dt>If the element is a <code>link</code> element and the <code
+ title="attr-link-rel">rel</code> attribute also contains the
+ keyword <code title="rel-stylesheet">stylesheet</code></dt>
- <p>If the <code title="rel-alternate">alternate</code> keyword is
- used with the <code title="attr-hyperlink-hreflang">hreflang</code>
- attribute, and that attribute's value differs from the <span>root
- element</span>'s <span>language</span>, it indicates that the
- referenced document is a translation.</p>
+ <dd>
- <p>If the <code title="rel-alternate">alternate</code> keyword is
- used with the <code title="attr-hyperlink-type">type</code>
- attribute, it indicates that the referenced document is a
- reformulation of the current document in the specified format.</p>
+ <p>The <code title="rel-alternate">alternate</code> keyword
+ modifies the meaning of the <code
+ title="rel-stylesheet">stylesheet</code> keyword in the way
+ described for that keyword. The <code
+ title="rel-alternate">alternate</code> keyword does not create a
+ link of its own.</p>
- <p>The <code title="attr-hyperlink-media">media</code>, <code
- title="attr-hyperlink-hreflang">hreflang</code>, and <code
- title="attr-hyperlink-type">type</code> attributes can be combined
- when specified with the <code title="rel-alternate">alternate</code>
- keyword.</p>
+ </dd>
- <div class="example">
- <p>For example, the following link is a French translation that
- uses the PDF format:</p>
+ <dt>The <code title="rel-alternate">alternate</code> keyword is
+ used with the <code title="attr-hyperlink-type">type</code>
+ attribute set to the value <code
+ title="">application/rss+xml</code> or the value <code
+ title="">application/atom+xml</code></dt>
- <pre><link rel=alternate type=application/pdf hreflang=fr href=manual-fr></pre>
+ <dd>
- </div>
+ <p>The link is a <span title="hyperlink link">hyperlink</span>
+ referencing a syndication feed (though not necessarily syndicating
+ exactly the same content as the current page).</p>
- <div class="impl">
+ <div class="impl">
- <p>If the <code title="rel-alternate">alternate</code> keyword is
- used with the <code title="attr-hyperlink-type">type</code>
- attribute set to the value <code title="">application/rss+xml</code>
- or the value <code title="">application/atom+xml</code>, then it
- indicates that the referenced document is a syndication feed (though
- not necessarily syndicating exactly the same content as the current
- page).</p>
+ <p>The first <code>link</code>, <code>a</code>, or <code>area</code>
+ element in the document (in tree order) with the <code
+ title="rel-alternate">alternate</code> keyword used with the <code
+ title="attr-hyperlink-type">type</code> attribute set to the value
+ <code title="">application/rss+xml</code> or the value <code
+ title="">application/atom+xml</code> must be treated as the default
+ syndication feed for the purposes of feed autodiscovery.</p>
- <div class="impl">
-
- <p>The first <code>link</code>, <code>a</code>, or <code>area</code>
- element in the document (in tree order) with the <code
- title="rel-alternate">alternate</code> keyword used with the <code
- title="attr-hyperlink-type">type</code> attribute set to the value
- <code title="">application/rss+xml</code> or the value <code
- title="">application/atom+xml</code> must be treated as the default
- syndication feed for the purposes of feed autodiscovery.</p>
-
- <div class="example">
- <p>The following <code>link</code> element gives the syndication
- feed for the current page:</p>
- <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
- <p>The following extract offers various different syndication
- feeds:</p>
- <pre><p>You can access the planets database using Atom feeds:</p>
+ <div class="example">
+ <p>The following <code>link</code> element gives the syndication
+ feed for the current page:</p>
+ <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
+ <p>The following extract offers various different syndication
+ feeds:</p>
+ <pre><p>You can access the planets database using Atom feeds:</p>
<ul>
<li><a href="recently-visited-planets.xml" rel="alternate" type="application/atom+xml">Recently Visited Planets</a></li>
<li><a href="known-bad-planets.xml" rel="alternate" type="application/atom+xml">Known Bad Planets</a></li>
<li><a href="unexplored-planets.xml" rel="alternate" type="application/atom+xml">Unexplored Planets</a></li>
</ul></pre>
- </div>
+ </div>
- </div>
+ </div>
+ </dd>
+ <dt>Otherwise</dt>
- </div>
+ <dd>
- <p>The <code title="rel-alternate">alternate</code> link
- relationship is transitive — that is, if a document links to
- two other documents with the link type "<code
- title="rel-alternate">alternate</code>", then, in addition to
- implying that those documents are alternative representations of the
- first document, it is also implying that those two documents are
- alternative representations of each other.</p>
+ <p>The link is a <span title="hyperlink link">hyperlink</span>
+ referencing an alternate representation of the current
+ document.</p>
+ <p>The nature of the referenced document is given by the <code
+ title="attr-hyperlink-media">media</code>, <code
+ title="attr-hyperlink-hreflang">hreflang</code>, and <code
+ title="attr-hyperlink-type">type</code> attributes.</p>
+ <p>If the <code title="rel-alternate">alternate</code> keyword is
+ used with the <code title="attr-hyperlink-media">media</code>
+ attribute, it indicates that the referenced document is intended for
+ use with the media specified.</p>
+
+ <p>If the <code title="rel-alternate">alternate</code> keyword is
+ used with the <code title="attr-hyperlink-hreflang">hreflang</code>
+ attribute, and that attribute's value differs from the <span>root
+ element</span>'s <span>language</span>, it indicates that the
+ referenced document is a translation.</p>
+
+ <p>If the <code title="rel-alternate">alternate</code> keyword is
+ used with the <code title="attr-hyperlink-type">type</code>
+ attribute, it indicates that the referenced document is a
+ reformulation of the current document in the specified format.</p>
+
+ <p>The <code title="attr-hyperlink-media">media</code>, <code
+ title="attr-hyperlink-hreflang">hreflang</code>, and <code
+ title="attr-hyperlink-type">type</code> attributes can be combined
+ when specified with the <code title="rel-alternate">alternate</code>
+ keyword.</p>
+
+ <div class="example">
+
+ <p>For example, the following link is a French translation that
+ uses the PDF format:</p>
+
+ <pre><link rel=alternate type=application/pdf hreflang=fr href=manual-fr></pre>
+
+ </div>
+
+ <p>This relationship is transitive — that is, if a document
+ links to two other documents with the link type "<code
+ title="rel-alternate">alternate</code>", then, in addition to
+ implying that those documents are alternative representations of
+ the first document, it is also implying that those two documents
+ are alternative representations of each other.</p>
+
+ </dd>
+
+ </dl>
+
+
<h5>Link type "<dfn title="rel-archives"><code>archives</code></dfn>"</h5>
<p>The <code title="rel-archives">archives</code> keyword may be
More information about the Commit-Watchers
mailing list