问题
Is there a RSS library for .NET?
回答1:
You might start with the System.ServiceModel.Syndication Namespace. It includes classes for RSS and Atom.
回答2:
According to Google, there are a few options:
- RSS.NET - with an updated version over here
- FeedDotNet
Also, many commercial networking toolkits for .NET (e.g. /n Software's IP*Works!) support RSS.
In addition to that, the RSS protocol itself isn't too involved: using .NET's native HttpClient and some LINQ to XML magic, it should not be too difficult to implement a RSS client yourself...
回答3:
I have answered a similar question 2 times ;- ) Check this out : rss parser in .net
http://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.aspx http://msdn.microsoft.com/en-us/magazine/cc135976.aspx
.net has a class to parse ATOM and RSS feeds. Check out the links. What are you trying to do? Can you give more information?
Alternatively You can just remove the "Feed version" from the XML file and parse it as a normal XML file using xmlDocument class.
回答4:
There are tons, including using LinqToXML, however, IMHO, the Argotic framework is the most robust.
http://argotic.codeplex.com/
回答5:
There are many of them, e.g. rss.net.
And it's easy to implement reading without any lib
来源:https://stackoverflow.com/questions/1510575/rss-library-in-net