@@ -22249,26 +22249,37 @@ interface <dfn>HTMLHyperlinkElementUtils</dfn> {
22249
22249
22250
22250
<div w-nodev>
22251
22251
22252
- <p>The first <code>link</code> or <code>a</code> element in the document (in <span>tree
22253
- order</span>) with the <code data-x="rel-alternate">alternate</code> keyword used with the <code
22254
- data-x="attr-hyperlink-type">type</code> attribute set to the value <code
22255
- data-x="">application/rss+xml</code> or the value <code data-x="">application/atom+xml</code>
22256
- must be treated as the default syndication feed for the purposes of feed autodiscovery.</p>
22252
+ <p>For the purposes of feed autodiscovery, user agents should consider all <code>link</code>
22253
+ elements in the document with the <code data-x="rel-alternate">alternate</code> keyword used and
22254
+ with their <code data-x="attr-hyperlink-type">type</code> attribute set to the value <code
22255
+ data-x="">application/rss+xml</code> or the value <code
22256
+ data-x="">application/atom+xml</code>. If the user agent has the concept of a default
22257
+ syndication feed, the first such element (in <span>tree order</span>) should be used as the
22258
+ default.</p>
22259
+
22260
+ </div>
22257
22261
22258
22262
<div class="example">
22259
- <p>The following <code>link</code> element gives the syndication
22260
- feed for the current page:</p>
22261
- <pre><link rel="alternate" type="application/atom+xml" href="data.xml"></pre>
22262
- <p>The following extract offers various different syndication
22263
- feeds:</p>
22263
+ <p>The following <code>link</code> elements give syndication feeds for a blog:</p>
22264
+
22265
+ <pre><link rel="alternate" type="application/atom+xml" href="posts.xml" title="Cool Stuff Blog">
22266
+ <link rel="alternate" type="application/atom+xml" href="posts.xml?category=robots" title="Cool Stuff Blog: robots category">
22267
+ <link rel="alternate" type="application/atom+xml" href="comments.xml" title="Cool Stuff Blog: Comments"></pre>
22268
+
22269
+ <p>Such <code>link</code> elements would be used by user agents engaged in feed autodiscovery,
22270
+ with the first being the default (where applicable).</p>
22271
+
22272
+ <p>The following example offers various different syndication feeds to the user, using
22273
+ <code>a</code> elements:</p>
22274
+
22264
22275
<pre><p>You can access the planets database using Atom feeds:</p>
22265
22276
<ul>
22266
22277
<li><a href="recently-visited-planets.xml" rel="alternate" type="application/atom+xml">Recently Visited Planets</a></li>
22267
22278
<li><a href="known-bad-planets.xml" rel="alternate" type="application/atom+xml">Known Bad Planets</a></li>
22268
22279
<li><a href="unexplored-planets.xml" rel="alternate" type="application/atom+xml">Unexplored Planets</a></li>
22269
22280
</ul></pre>
22270
- </div>
22271
22281
22282
+ <p>These links would not be used in feed autodiscovery.</p>
22272
22283
</div>
22273
22284
22274
22285
</dd>
0 commit comments