RSS <image>Element
Complete RSS Reference Manual
Definition and Usage
The <image> element specifies an image to be displayed with the channel.
Tips and Notes
Note:The image must be of type GIF, JPEG, or PNG.
Child elements of the <image> element
| Tag | Description |
|---|---|
| <description> | Optional. Specifies the text in the HTML title attribute of the image link. |
| <height> | Optional. Defines the height of the image. Default is 31. Maximum is 400. |
| <link> | Required. Defines the hyperlink to the website providing the channel. |
| <title> | Required. Defines the alternative text displayed when the image cannot be shown. |
| <url> | Required. Defines the URL of the image. |
| <width> | Optional. Defines the width of the image. Default is 88. Maximum is 144. |
Example
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Example Homepage</title>
<link>http://www.example.com</link>
<description>Free Programming Tutorials</description>
<generator>Notepad</generator>
<image>
<url>http://www.example.com/images/logo.png</url>
<title>Example Tutorial</title>
<link>http://www.example.com</link>
</image>
<item>
<title>RSS Tutorial</title>
<link>http://www.example.com/rss</link>
<description>Example RSS Tutorial</description>
</item>
</channel>
</rss>
Try it Yourself »
Complete RSS Reference Manual Other extensions