Tuesday, March 13, 2012

so just hoew do you go about reading an rss feed?

is there ant place where i can learn the basics of reading an rss feed and
enumerating through the values?
just want to start at the bottom, no frills.
thanks
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kesThis might help: http://aspnet.4guysfromrolla.com/articles/031903-1.aspx
"WebBuilder451" <WebBuilder451@.discussions.microsoft.com> wrote in message
news:35543717-D70C-448D-8A59-F47938655CCB@.microsoft.com...
is there ant place where i can learn the basics of reading an rss feed and
enumerating through the values?
just want to start at the bottom, no frills.
thanks
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
Check out this link
http://www.philweber.com/articles/easy_rss_in_vbnet.htm
Mr N . . . . . 0O=<
Da Da Da Da Daaaaaaaaaa Da Daaaaaaaaa!!!!
"WebBuilder451" <WebBuilder451@.discussions.microsoft.com> wrote in message
news:35543717-D70C-448D-8A59-F47938655CCB@.microsoft.com...
> is there ant place where i can learn the basics of reading an rss feed and
> enumerating through the values?
> just want to start at the bottom, no frills.
> thanks
> --
> thanks (as always)
> some day i''m gona pay this forum back for all the help i''m getting
> kes
thanks for responding,
This is an example of how to read an xml feed?
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Mr Newbie" wrote:

> Check out this link
> http://www.philweber.com/articles/easy_rss_in_vbnet.htm
> Mr N . . . . . 0O=<
> Da Da Da Da Daaaaaaaaaa Da Daaaaaaaaa!!!!
>
> "WebBuilder451" <WebBuilder451@.discussions.microsoft.com> wrote in message
> news:35543717-D70C-448D-8A59-F47938655CCB@.microsoft.com...
>
>
thanks
saw this one. I may need to work through the source code. It's good it
works, but i was hoping for a simple example that shows what needs to
happens to read the rss feed
thanks
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Siva M" wrote:

> This might help: http://aspnet.4guysfromrolla.com/articles/031903-1.aspx
> "WebBuilder451" <WebBuilder451@.discussions.microsoft.com> wrote in message
> news:35543717-D70C-448D-8A59-F47938655CCB@.microsoft.com...
> is there ant place where i can learn the basics of reading an rss feed and
> enumerating through the values?
> just want to start at the bottom, no frills.
> thanks
> --
> thanks (as always)
> some day i''m gona pay this forum back for all the help i''m getting
> kes
>
>
How about something like this:
public DataSet GetRSSFeed(string rssUrl)
{
// LOGIC:
// get xml from remote uri into a dataset
DataSet dsRssFeed = new DataSet();
XmlReader rssReader = new XmlTextReader(rssUrl);
dsRssFeed.ReadXml(rssReader);
return dsRssFeed;
}
Pretty barebones. You should probably add exception handling and you might
want to stick the dataset into the cache so you're not reading it every time
the page is hit. You can also bind the dataset (or datatable) to a datagrid.
You can iterate through the entries.
--
brians
"WebBuilder451" wrote:

> is there ant place where i can learn the basics of reading an rss feed and
> enumerating through the values?
> just want to start at the bottom, no frills.
> thanks
> --
> thanks (as always)
> some day i''m gona pay this forum back for all the help i''m getting
> kes

0 comments:

Post a Comment