Home All Groups Group Topic Archive Search About
Author
7 Jan 2006 6:45 AM
jack
hi 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

Author
7 Jan 2006 3:49 PM
Siva M
Will this help?
http://aspnet.4guysfromrolla.com/articles/021804-1.aspx

"jack" <gautams.m***@gmail.com> wrote in message
news:1136616308.247712.24850@g43g2000cwa.googlegroups.com...
hi 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
Are all your drivers up to date? click for free checkup

Author
9 Jan 2006 4:10 AM
jack
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 + "
");
}
}

Bookmark and Share