summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/test/xml/rfc4287/entry_link_random.xml
blob: cb370e5168c664e8f8479a909433b27242bf1960 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="iso-8859-1"?>
<!--

Description: atom entry with random link relations
Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).link.spec == "http://www.snellspace.com/public/linktests/alternate";

-->
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>tag:snellspace.com,2006:/atom/conformance/linktest/</id>
  <title>Atom Link Tests</title>
  <updated>2005-01-18T15:10:00Z</updated>
  <author><name>James Snell</name></author>
  <link href="http://www.intertwingly.net/wiki/pie/LinkConformanceTests" />
  <link rel="self" href="http://www.snellspace.com/public/linktests.xml" />

  <entry>
    <id>tag:snellspace.com,2006:/atom/conformance/linktest/1</id>
    <title>Just a single Alternate Link</title>
    <updated>2005-01-18T15:00:01Z</updated>
    <summary>The aggregator should pick the second link as the alternate</summary>
    <link rel="http://example.org/random"
         href="http://www.snellspace.com/public/wrong" /> 
    <link href="http://www.snellspace.com/public/linktests/alternate" />
    <link rel="http://example.org/random"
         href="http://www.snellspace.com/public/wrong" /> 
  </entry>

</feed>