RSS <title>, <link>, and <description> Elements

Definition and Usage

<item> Element defines an article in an RSS feed, and it has three mandatory child elements:

  • <title>- Defines the title of the project (for example: RSS Tutorial)
  • <link>- Defines the hyperlink to the project (for example: http://www.codew3c.com/rss/)
  • <description>- Description of the project (for example: CodeW3C's latest RSS tutorial)

Example

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>CodeW3C.com Home Page</title>
  <link>http://www.codew3c.com</link>
  <description>Free web building tutorials</description>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.codew3c.com/rss</link>
    <description>New RSS tutorial on CodeW3C.com</description>
  </item>
  <item>
    <title>XML Tutorial</title>
    <link>http://www.codew3c.com/xml</link>
    <description>New XML tutorial on CodeW3C.com</description>
  </item>
</channel>
</rss>