|
1 <?xml version="1.0" encoding="iso-8859-1"?> |
|
2 <!-- |
|
3 |
|
4 Description: atom entry with random link relations |
|
5 Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).link.spec == "http://www.snellspace.com/public/linktests/alternate"; |
|
6 |
|
7 --> |
|
8 <feed xmlns="http://www.w3.org/2005/Atom"> |
|
9 <id>tag:snellspace.com,2006:/atom/conformance/linktest/</id> |
|
10 <title>Atom Link Tests</title> |
|
11 <updated>2005-01-18T15:10:00Z</updated> |
|
12 <author><name>James Snell</name></author> |
|
13 <link href="http://www.intertwingly.net/wiki/pie/LinkConformanceTests" /> |
|
14 <link rel="self" href="http://www.snellspace.com/public/linktests.xml" /> |
|
15 |
|
16 <entry> |
|
17 <id>tag:snellspace.com,2006:/atom/conformance/linktest/6</id> |
|
18 <title>Entry with a link relation identified by URI</title> |
|
19 <updated>2005-01-18T15:00:06Z</updated> |
|
20 <summary>The aggregator should ignore the second link without throwing any errors. The first link should be picked as the alternate.</summary> |
|
21 <link href="http://www.snellspace.com/public/linktests/alternate" /> |
|
22 <link rel="http://example.org" href="http://www.snellspace.com/public/linktests/example" /> |
|
23 </entry> |
|
24 |
|
25 </feed> |