toolkit/components/feeds/test/xml/rss2/item_enclosure_mixed.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/feeds/test/xml/rss2/item_enclosure_mixed.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +<?xml version="1.0" encoding="iso-8859-1"?>
     1.5 +<!--
     1.6 +
     1.7 +Description: feed with different kinds of enclosures that should be TYPE_FEED (0)
     1.8 +Expect: ((feed.type == 0) && (feed.enclosureCount == 2));
     1.9 +
    1.10 +-->
    1.11 +<rss version="2.0" >
    1.12 +<channel>
    1.13 +
    1.14 +<item>
    1.15 +<enclosure length="24986239" type="audio/mpeg" url="http://dallas.example.com/joebob_050689.mp3" /> 
    1.16 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    1.17 +<comments>http://example.org</comments>
    1.18 +<title>test audio</title>
    1.19 +
    1.20 +<category domain="foo">bar</category>
    1.21 +
    1.22 +<description>Listen to the words that are coming out of my mouth.</description>
    1.23 +</item>
    1.24 +
    1.25 +<item>
    1.26 +<enclosure length="3000000" type="video/mpeg" url="http://dallas.example.com/joebob_pants.mpeg" /> 
    1.27 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author>
    1.28 +<comments>http://example.org</comments>
    1.29 +<title>test video</title>
    1.30 +
    1.31 +<category domain="foo">bar</category>
    1.32 +
    1.33 +<description>Look into my eyes....</description>
    1.34 +</item>
    1.35 +</channel>
    1.36 +</rss>

mercurial