Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How to define item element in RSS?
 We use each <item> element in RSS to define an article.
To define an <item> element you must have to use these three child element.
1.<title>: This is used to define the title of item.
2.<link>: This is use to define the hyperlink to the item.
3.<description>: This is use to describe an item.
Example:This example explain how to use <item> element in RSS.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
  <title>Home Page of R4R</title>
  <link>http://www.r4r.co.in</link>
  <description>huge collection of interview questions</description>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.r4r.co.in/rss</link>
    <description>RSS tutorial on R4R</description>
  </item>
</channel>
</rss>

Posted By: Name:Rajesh Kr URL: How to define item element in RSS?