RSS <image> tag
Usage
Specifies an image to be displayed with an RSS feed (must be gif, jpeg, or png).
Child elements
| Tag | Description |
|---|---|
| <description> | Optional. The text for the title of the link around the image |
| <height> | Optional. Image height |
| <link> | Required. URL of the domain that provides the RSS feed |
| <title> | Required. Text to display if the image cannot be displayed |
| <url> | Required. The location of the image |
| <width> | Optional. Image width |
Example
RSS feed with an image:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>Landofcode.com web tutorials updates</title>
<link>http://www.landofcode.com</link>
<description>Web development tutorials</description>
<image>
<url>http://www.landofcode.com/images/rssBig.gif</url>
<title>Landofcode.com RSS</title>
<link>http://www.landofcode.com</link>
<description>Web development tutorials</description>
</image>
<item>
<title>Site usability</title>
<link>http://www.landofcode.com/usability.html</link>
<description>Learn how to improve the usability of your site</description>
</item>
<item>
<title>New HTML tutorials</title>
<link>http://www.landofcode.com/html-tutorials/</link>
<description>Five new HTML tutorials have been added</description>
</item>
</channel>
</rss>