RSS title, link, and description Elements

Each <item> element defines an article or "story" in the RSS feed."

Definition and Usage

Each <item> element defines an article or "story" in the RSS feed.

The <item> element has three required child elements:

  • <title> - Defines the title of the item (e.g. RSS Tutorial)
  • <link> - Defines the hyperlink to the item (e.g. https://w3resource.net/xml/xml_rss)
  • <description> - Describes the item (e.g. New RSS tutorial on w3resource)
  • Example

    <?xml version="1.0" encoding="UTF-8" ?>
    <rss version="2.0">

    <channel>
      <title>w3resource Home Page</title>
      <link>https://w3resource.net</link>
      <description>Free web building tutorials</description>
      <item>
        <title>RSS Tutorial</title>
        <link>https://w3resource.net/xml/xml_rss</link>
        <description>New RSS tutorial on w3resource</description>
      </item>
      <item>
        <title>XML Tutorial</title>
        <link>https://w3resource.net/xml</link>
        <description>New XML tutorial on w3resource</description>
      </item>

    </channel>
    </rss>

    ❮ Complete RSS Reference