toolkit/components/feeds/test/xml/rss2/item_enclosure_mixed.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: feed with different kinds of enclosures that should be TYPE_FEED (0)
michael@0 5 Expect: ((feed.type == 0) && (feed.enclosureCount == 2));
michael@0 6
michael@0 7 -->
michael@0 8 <rss version="2.0" >
michael@0 9 <channel>
michael@0 10
michael@0 11 <item>
michael@0 12 <enclosure length="24986239" type="audio/mpeg" url="http://dallas.example.com/joebob_050689.mp3" />
michael@0 13 <author>jbb@dallas.example.com (Joe Bob Briggs)</author>
michael@0 14 <comments>http://example.org</comments>
michael@0 15 <title>test audio</title>
michael@0 16
michael@0 17 <category domain="foo">bar</category>
michael@0 18
michael@0 19 <description>Listen to the words that are coming out of my mouth.</description>
michael@0 20 </item>
michael@0 21
michael@0 22 <item>
michael@0 23 <enclosure length="3000000" type="video/mpeg" url="http://dallas.example.com/joebob_pants.mpeg" />
michael@0 24 <author>jbb@dallas.example.com (Joe Bob Briggs)</author>
michael@0 25 <comments>http://example.org</comments>
michael@0 26 <title>test video</title>
michael@0 27
michael@0 28 <category domain="foo">bar</category>
michael@0 29
michael@0 30 <description>Look into my eyes....</description>
michael@0 31 </item>
michael@0 32 </channel>
michael@0 33 </rss>

mercurial