是否有可能观察到在C#RSS订阅变化? [英] Is it possible to observe Rss feed change in C#?

查看:141
本文介绍了是否有可能观察到在C#RSS订阅变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建一个会听一些RSS订阅和解析新的饲料,以JSON进一步使用服务。是否有可能观察到饲料的变化,如果是的话怎么办?

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?

感谢

推荐答案

检查出的 System.ServiceModel.Syndication.SyndicationFeed 框架中的命名空间 - 它拥有你需要下载的饲料pretty的每样东西。斯科特·格思里有一个关于阅读的饲料几个很好的例子博客文章<一个href="http://weblogs.asp.net/scottgu/archive/2006/02/22/Awesome-ASP.NET-2.0-RSS-Tool_2D00_Kit-Released.aspx"相对=nofollow>这里和<一href="http://weblogs.asp.net/scottgu/archive/2007/08/07/using-linq-to-xml-and-how-to-build-a-custom-rss-feed-reader-with-it.aspx"相对=nofollow>这里。

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.

这篇关于是否有可能观察到在C#RSS订阅变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆