RSS <image> Element
Complete RSS Reference
Definition and Usage
The <image> element allows an image to be displayed when
aggregators present a feed.
Tips and Notes
Note: The image must be of type GIF, JPEG or PNG.
Child Elements of <image>
| Tag |
Description |
| <description> |
Optional. Specifies the text in the HTML title attribute of the
link around the image |
| <height> |
Optional. Defines the height of the image. Default is 31. Maximum value is 400 |
| <link> |
Required. Defines the hyperlink to the website that offers the
channel |
| <title> |
Required. Defines the text to display if the image could not be
shown |
| <url> |
Required. Specifies the URL to the image |
| <width> |
Optional. Defines the width of the image. Default is 88. Maximum value is
144 |
Example
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>W3Schools Home Page</title>
<link>http://www.w3schools.com</link>
<description>Free web building tutorials</description>
<image>
<url>http://www.w3schools.com/images/logo.gif</url>
<title>W3Schools.com</title>
<link>http://www.w3schools.com</link>
</image>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3schools.com/rss</link>
<description>New RSS tutorial on W3Schools</description>
</item>
</channel>
</rss>
|
Try it yourself »
|
Complete RSS Reference
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4500 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|