Click here to Skip to main content
15,893,487 members
Articles / Web Development / ASP.NET

What is RSS, and reading and writing RSS feeds

Rate me:
Please Sign up or sign in to vote.
4.40/5 (9 votes)
24 Feb 2010CPOL6 min read 100.4K   1.3K   47  
This article explains what RSS is and how we can read and write RSS feeds.
<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Products Above Average Prices</title><link>http://localhost/RSSFeeds</link><description>Details of all the Products Average Prices</description><copyright>Copyright Indrajeeth 2010</copyright><item><ProductName>Uncle Bob's Organic Dried Pears</ProductName><UnitPrice>30.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Northwoods Cranberry Sauce</ProductName><UnitPrice>40.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Mishi Kobe Niku</ProductName><UnitPrice>97.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Ikura</ProductName><UnitPrice>31.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Queso Manchego La Pastora</ProductName><UnitPrice>38.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Alice Mutton</ProductName><UnitPrice>39.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Carnarvon Tigers</ProductName><UnitPrice>62.5000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Sir Rodney's Marmalade</ProductName><UnitPrice>81.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Gumb&amp;#228;r Gummib&amp;#228;rchen</ProductName><UnitPrice>31.2300</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Schoggi Schokolade</ProductName><UnitPrice>43.9000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>R&amp;#246;ssle Sauerkraut</ProductName><UnitPrice>45.6000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Th&amp;#252;ringer Rostbratwurst</ProductName><UnitPrice>123.7900</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Mascarpone Fabioli</ProductName><UnitPrice>32.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>C&amp;#244;te de Blaye</ProductName><UnitPrice>263.5000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Ipoh Coffee</ProductName><UnitPrice>46.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Manjimup Dried Apples</ProductName><UnitPrice>53.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Perth Pasties</ProductName><UnitPrice>32.8000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Gnocchi di nonna Alice</ProductName><UnitPrice>38.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Raclette Courdavault</ProductName><UnitPrice>55.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Camembert Pierrot</ProductName><UnitPrice>34.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Tarte au sucre</ProductName><UnitPrice>49.3000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Vegie-spread</ProductName><UnitPrice>43.9000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Wimmers gute Semmelkn&amp;#246;del</ProductName><UnitPrice>33.2500</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Gudbrandsdalsost</ProductName><UnitPrice>36.0000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item><item><ProductName>Mozzarella di Giovanni</ProductName><UnitPrice>34.8000</UnitPrice><Link>http://localhost/RSSFeeds/ProductList.xml</Link><PublishDate>25/02/2010 08:56:51 AM</PublishDate></item></channel></rss>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Junior) Excel Informatics, Pune
India India
Am Indrajeet T. Sutar. I am a web developer. I am working on .net technology. I have completed my Masters in Computers and Management (people call it as MCA, MBA etc.) Apart from programming i do photography (not regularly though), traveling and reading books.

Comments and Discussions