adding News in RSS Feed / Adding item in RSS Feed
We can add news by adding new item in a RSS Feed channel.
item tag containing
1. title of a news
2. original news link
3. short description of a news
4. author (optional)
5. published date (optional)
Example:
<channel>
<title>W3Schools Home Page</title>
<link>http://nscraps.com</link>
<description>Technical scraps</description>
<item>
<title>RSS Tutorial</title>
<link>http://nscraps.com/XML/348-generate-rss-feed-website.htm</link>
<description>How to generate RSS Feed</description>
<author>webmaster@nscraps.com(nScraps.com)</author>
<pubDate>Fri, 04 Mar 2011 11:44:01 +0530</pubDate>
</item>
<< How to add Image in RSS Channel How to Create RSS Feed in PHP >>
