summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/test/xml/rss2/feed_image_desc_width_height.xml
blob: 2be53e86cc7cd2ec2ae7826b9e898487f4a12964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="iso-8859-1"?>
<!--

Description: channel image required fields work
Expect: ((feed.image.getProperty('title') == 'A picture') && (feed.image.getProperty('link') == 'http://example.org') && (feed.image.getProperty('url') == 'http://example.org/a.jpg') && (feed.image.getProperty('description') == 'Yo!') && (feed.image.getProperty('width') == '42') && (feed.image.getProperty('height') == '43'))

-->
<rss version="2.0" >
<channel>
<image>
  <link>http://example.org</link>
  <title>A picture</title>
  <url>http://example.org/a.jpg</url>
  <description>Yo!</description>
  <width>42</width>
  <height>43</height>
</image>
</channel>
</rss>