summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/test/xml/rss2/item_enclosure_duplicates2.xml
blob: 51f7caba9c0fc452168ce5ef090399cda923bfb5 (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
<?xml version="1.0" encoding="iso-8859-1"?>
<!--

Description: feed with duplicate enclosures on a single item with different data available
Expect: var enc = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).fields.getProperty('enclosure'); enc.QueryInterface(Components.interfaces.nsIPropertyBag); ((enc.getProperty('length') == '24986239') && (enc.getProperty('type') == 'video/mpeg') && (feed.type == 4) && (feed.enclosureCount == 1) );

-->
<rss xmlns:media="http://search.yahoo.com/mrss" version="2.0" >
<channel>

<item>
<enclosure url="http://dallas.example.com/joebob_050689.mpeg" /> 
<media:content fileSize="24986239" type="video/mpeg" url="http://dallas.example.com/joebob_050689.mpeg" /> 
<author>jbb@dallas.example.com (Joe Bob Briggs)</author>
<comments>http://example.org</comments>
<title>test audio</title>

<category domain="foo">bar</category>

<description>Listen to the words that are coming out of my mouth.</description>
</item>

</channel>
</rss>