1. RSS introduction
  2. RSS structure
  3. RSS tags
  4. RSS channels
  5. RSS items
  6. RSS publish
  7. RSS read
  8. RSS find
  9. RSS tools
  10. RSS Summary

RSS items

For each item in an RSS feed, the <item> tag is used (within the <channel> tag). There are three required child tags for the <item> tag:

We discussed the core aspects of the <item> tag in the RSS structure tutorial, but there is much more you can do with it. Besides it's required elements, the <item> tag has a bunch of optional elements.


Specifies the email address of the author of an RSS item.


NOTE: Including the author element in an RSS file may result in spam.


Specifies a category for an RSS item. This makes it possible for RSS feed readers to group the content that the item is set for in its appropriate category.

<category>HTML tutorial</category>


Specifies a URL where comments about an RSS item can be found.

A complete RSS file with optional and required elements for the <item> tag:
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title> web tutorials updates</title> <link></link> <description>Web development tutorials</description> <item> <title>Online code editor</title> <link></link> <description>New functionality added to the code editor. Check it out!</description> <comments></comments> </item> <item> <title>Errors fixed</title> <link></link> <description>Fixed a bunch of errors. Site runs much better now</description> <author></author> </item> <item> <title>HTML tutorials</title> <link></link> <description>Five new tutorials added to the HTML tutorials section.</description> <category>HTML tutorial</category> </item> </channel> </rss>

For a full list of item elements (optional and required) check out our RSS item elements reference page.

© Copyright 2013-2014
Terms of use | Privacy policy | Copyright information