toolkit/components/feeds/test/xml/rfc4287/entry_link_random.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial