eugeneK
eugeneK

Reputation: 11116

Is it possible to observe Rss feed change in C#?

I want to create a service that would listen to few Rss feeds and parse new feeds to jSon for further use. Is it possible to observe to feed changes and if yes then how?

thanks

Upvotes: 2

Views: 629

Answers (3)

Sir Rippov the Maple
Sir Rippov the Maple

Reputation: 7581

The only way to observe RSS feed changes is to poll the feed by requesting it over a set interval of time. This is because a feed is typically delivered over HTTP, which is a stateless request-response protocol and not a publish-subscribe protocol.

Upvotes: 1

slugster
slugster

Reputation: 49974

Check out the System.ServiceModel.Syndication.SyndicationFeed namespace in the framework - it has pretty much everything you need to download feeds. Scott Guthrie has a couple of good example blog posts about reading feeds here and here.

Upvotes: 1

user195488
user195488

Reputation:

I suggest you check out RSS.NET, per it's website it can listen for changes.

Upvotes: 0

Related Questions