-->

RSS reader in VB 2008?

2019-08-21 10:07发布

问题:

Are there any built in libraries/classes in VB 2008 to help to create an RSS reader?

Are there any tutorials online that would help?

Please provide links when answering the second part of the question.

回答1:

System.ServiceModel.Syndication contains a bunch of classes for creating and consuming RSS and Atom feeds.

Edit: I've never used these classes, so I can't give any examples from my own code. However, a quick search turned up some examples that seem pretty good. Sorry they're not in VB, but the important parts (using the Syndication classes) are mostly the same in both languages.

  • Daniel Cazzulino
  • dotnetslackers
  • Darren Johnstone


回答2:

Not exactly built in.

RSS documents are XML documents; you do have XmlDocument or can XML serialize a class to create that RSS feed.

  • Creating an Online RSS News Aggregator with ASP.NET
  • RSS in .NET Made Easy with XML Serialization