|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using RSShi all im trying to use RSS Feed in my project which is an in house
project im trying to use Rss im this but im not able to guess how to do this well i tried some of the things but not able to make it like for example for using Rss we need to use Rss.dll im not able to find this dll can this be done without downloading any dll from net i have dot net 1.0 can i create a project using rss in this version .if yess then how Please Help Thanks for replying me Will this help?
http://aspnet.4guysfromrolla.com/articles/021804-1.aspx "jack" <gautams.m***@gmail.com> wrote in message hi all im trying to use RSS Feed in my project which is an in housenews:1136616308.247712.24850@g43g2000cwa.googlegroups.com... project im trying to use Rss im this but im not able to guess how to do this well i tried some of the things but not able to make it like for example for using Rss we need to use Rss.dll im not able to find this dll can this be done without downloading any dll from net i have dot net 1.0 can i create a project using rss in this version .if yess then how Please Help Thanks for replying me Thanks this is what i'v made and is working fine.
if there is any other method please do reply .. Thanks for the help -------------------------------------------------------------------- const string FeedUrl = "http://www.dnaindia.com/syndication/rss,catID-1.xml"; try { HttpWebRequest SSWebRequest = (HttpWebRequest)WebRequest.Create(FeedUrl); WebProxy SSProxy=new WebProxy(); SSProxy=(WebProxy)SSWebRequest.Proxy; SSProxy.Address = new Uri("http://192.168.000.000:0000"); SSProxy.Credentials = new NetworkCredential("userid", "password"); SSWebRequest.Proxy = SSProxy; RssFeed feed = RssFeed.Read(SSWebRequest); Response.Write("Feed URL = "+feed.Url + " " ) ; // Display channels Response.Write("Channels = {0}" + feed.Channels.Count+ " "); int ii=0; foreach (RssChannel chan in feed.Channels) { // Output channel information Response.Write(chan.Description + " "); Response.Write(chan.PubDate.ToString("R")+ " "); Response.Write("Items = {0}" + chan.Items.Count+ " "); // Output article titles foreach (RssItem item in chan.Items) { ii=ii+1; Response.Write(" {"+ ii + "}" + item.Title + " "); } }
Other interesting topics
Books on ASP.net 2.0
serialized binary files vs Sql Server Performance.. VS2005 - Unable to open local iis site other than localhost Book Recommendation 2.0 binding ObjectDataSource to Dataset Moving an XML node up or Down Root URL/ Application path problem with running debugger .NET controls rendering Accessing GAC classes from a WebService? Why Publish take so long? |
|||||||||||||||||||||||