I have rss that has a number of other custom fields. do any of the c# libraries (RSS.NEt, etc) support reading these fields? i can't seem to find any reference to this.
what is the easier way to parse XML from an RSS feed and include customer fields
RSS feeds have a well defined structure. You can use XPath
to get the fields you need.
Here's a sample introduction and here's the MSDN documentation .
One option is to just do the deserialization yourself. Throw together a few classes with attributes from System.XML.Serialization and you're set. Then you don't have to mess around with existing libraries or XPath.
我结束了对RSS.net源代码的更改,以将所有自定义字段作为一个大的Dictionary进行了几行更改,现在一切就绪。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.