RSS <channel> tag
The <channel> tag is used to describe an RSS feed. Within the <channel> tag, the <item> tag is used for each item in the RSS feed. Both these tags have three required child tags:
- <title> - sets the title of the RSS feed/item
- <link> - specifies the URL where the RSS feed/item content can be found
- <description> - sets a description for the RSS feed/item
We discussed the core aspects of the <channel> tag in the RSS structure page, but there is much more you can do with it. Besides it's required elements, the <channel> tag has a bunch of optional elements.
Specifies a category for your RSS feed. This makes it possible for RSS feed readers to group your website in its appropriate category.
Specifies the program used to create your RSS feed. Should be used if the RSS feed is created using an automatic RSS feed creator like myRSScreator
Specifies the language your RSS feed is written in. This makes it possible for RSS feed readers to group your website in a category based on language.
NOTE: The language should be specified using one of the ISO language codes. In the above we specify US English.
Specifies the most recent time the content of your RSS feed was modified.
ttl stands for Time To Live. This element specifies how many minutes your RSS feed can stay cached before it is refreshed.
For a full list of channel elements (optional and required) check out our RSS channel elements reference page.