The RSS <channel> element describes the RSS feed.
Look at the following RSS document:
As mentioned before, the <channel> element describes the RSS feed, and has three required child elements:
The <channel> element usually contains one or more <item> elements. Each <item> element defines an article or "story" in the RSS feed.
Furthermore, there are several optional child elements of <channel>. We will explain the most important ones below.
The <category> child element is used to specify a category for your feed.
The <category> element makes it possible for RSS aggregators to group sites based on category.
The category for the RSS document above could be:
The <copyright> child element notifies about copyrighted material.
The copyright for the RSS document above could be:
The <image> child element allows an image to be displayed when aggregators present a feed.
The <image> element has three required child elements:
The image for the RSS document above could be:
The <language> child element is used to specify the language used to write your document.
The <language> element makes it possible for RSS aggregators to group sites based on language.
The language for the RSS document above could be:
| Element | Description |
|---|---|
| <category> | Optional. Defines one or more categories for the feed |
| <cloud> | Optional. Register processes to be notified immediately of updates of the feed |
| <copyright> | Optional. Notifies about copyrighted material |
| <description> | Required. Describes the channel |
| <docs> | Optional. Specifies an URL to the documentation of the format used in the feed |
| <generator> | Optional. Specifies the program used to generate the feed |
| <image> | Optional. Allows an image to be displayed when aggregators present a feed |
| <language> | Optional. Specifies the language the feed is written in |
| <lastBuildDate> | Optional. Defines the last-modified date of the content of the feed |
| <link> | Required. Defines the hyperlink to the channel |
| <managingEditor> | Optional. Defines the e-mail address to the editor of the content of the feed |
| <pubDate> | Optional. Defines the last publication date for the content of the feed |
| <rating> | Optional. The PICS rating of the feed |
| <skipDays> | Optional. Specifies the days where aggregators should skip updating the feed |
| <skipHours> | Optional. Specifies the hours where aggregators should skip updating the feed |
| <textInput> | Optional. Specifies a text input field that should be displayed with the feed |
| <title> | Required. Defines the title of the channel |
| <ttl> | Optional. Specifies the number of minutes the feed can stay cached before refreshing it from the source |
| <webMaster> | Optional. Defines the e-mail address to the webmaster of the feed |
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
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).
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| Download XML Editor |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|