Reputation: 28545
Can someone recommend an appropriate way to do this.
I'm subscribed to a number of rss feeds. What I would like to do is obtain the url and then do DoSomething(url) when i have the url of the new item that has come in.
basically process the new item as it comes in.
What would I need to do to have this automatically? without me having to force the process?
Upvotes: 0
Views: 110
Reputation: 213
Make scheduler to send request to RSS feed source once per munute/hour/other time period.
Parse responce via stuff from System.ServiceModel.Syndication
namespace - you'll have a collection of SyndicationItems
that represents obtained data.
For each item that you don't have in your storage - run DoSomething with url from SyndicationItem.Links
.
Upvotes: 1