Short URL: http://html5.org/r/335
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 335 | rel=external, rel=feed | 2006-11-22 07:25 |
Index: source =================================================================== --- source (revision 334) +++ source (revision 335) @@ -13451,6 +13451,50 @@ page as a whole.</p> + <h5>Link type "<dfn title="rel-external"><code>external</code></dfn>"</h5> + + <p>The <code title="rel-external">external</code> keyword may be + used with <code>a</code> and <code>area</code> elements.</p> + + <p>The <code title="rel-external">external</code> keyword indicates + that the link is leading to a document that is not part of the site + that the current document forms a part of.</p> + + + <h5>Link type "<dfn title="rel-feed"><code>feed</code></dfn>"</h5> + + <p>The <code title="rel-feed">feed</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-feed">feed</code> keyword indicates that the + referenced document is a syndication feed. If the <code + title="rel-alternate">alternate</code> link type is also specified, + then the feed is specifically the feed for the current document; + otherwise, the feed is just a syndication feed, not necessarily + associated with a particular Web page.</p> + + <p class="note">The <code title="rel-feed">feed</code> keyword is + implied by the <code title="rel-alternate">alternate</code> link + type in certain cases (q.v.).</p> + + <div class="example"> + <p>The following two <code>link</code> elements are equivalent: + both give the syndication feed for the current page:</p> + <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre> + <pre><link rel="feed alternate" 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="feed">Recently Visited Planets</a></li> + <li><a href="known-bad-planets.xml" rel="feed">Known Bad Planets</a></li> + <li><a href="unexplored-planets.xml" rel="feed">Unexplored Planets</a></li> + </ul></pre> + </div> + + <!-- this section defines whether a particular link type is an external resource or a hyperlink