Consuming RSS feeds using datasets - which table to bind to?

J

JP2006

I'm having an issue with a control I'm writing to consume RSS feeds. It
gets a feed via a querystring parameter and sticks it in a dataset. I
then use the dataset to write out the feed title and description then
specifiy a specific table within the dataset (the one with the actual
items) to bind to a repeater control.
The problem is that not all feeds seems to start the item table at the
same level; I specifiy a table within the dataset to bind to the
repeater - this table should be the one that contains the feed items
but it seems that this is not always the case.
I can use a switch statement to determine which table to bind to based
on the count of tables in the dataset but this number does not always
seem to correspond correctly.

Any ideas on how I should approach this.?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top