阿尔戈蒂克联合框架

发布于 2024-07-25 10:48:12 字数 55 浏览 3 评论 0原文

有谁知道这个框架的教程吗? 对于使用它从 RSS Feed 中提取数据有何看法? 是好是坏?

Does anyone know of any tutorials for this framework?
Whats the opinion on the use of this for extracting data from an RSS Feed?
Good or bad?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

╰沐子 2024-08-01 10:48:13

CodePlex wiki 上的许多链接指向许多教程。 另外,请查看 DimeCasts.net。 Derik Whittaker 还有一个简单的示例 此处

The many links on the CodePlex wiki lead to a number of tutorials. Also, check out DimeCasts.net. Derik Whittaker also has a simple sample here.

梦与时光遇 2024-08-01 10:48:12

您可能需要考虑使用 System.ServiceModel.Syndicate 命名空间。 在里面,您会发现一个名为 SyndicateFeed 的类,它具有静态方法 Load,可以执行您需要的所有操作。

我已经针对另一个问题发布了此内容,但它可能对您也有帮助:

System.ServiceModel.Symination

  • 比 Argotic 快大约 9 倍
  • 没有 rdf 支持
  • 没有对原子版本的支持 < ; 1
  • 不支持 rss 版本< 1
  • 在我“来自野外”的提要中大约 30% 上出现 XmlException 失败(这对我来说是破坏性的)

Argotic

  • 自 2008 年 7 月 2 日以来一直没有更新,
  • 速度很慢(请参阅上面)
  • 对所有类型的提要都有很好的支持:所有版本的atom、rss、rdf(据我所知)
  • 比 System.ServiceModel.Symination 稍微难用一点; 在让 Argotic 解析之前,您需要确定您拥有哪种类型的 feed,然后您需要自定义逻辑来根据 feed 的类型来处理 3 个不同类中的每一个。 换句话说,你需要包装 Argotic 才能使用它。

You might want to consider using the System.ServiceModel.Syndication namespace. Inside, you'll find a class called SyndicationFeed with a static method Load that might do everything you need.

I already posted this for another question, but it may be helpful for you too:

System.ServiceModel.Sydication

  • is about 9 times faster than Argotic
  • does not have rdf support
  • doesn't have support for atom versions < 1
  • doesn't have support for rss versions < 1
  • fails with XmlException on about 30% of the feeds I give in "from the wild" (this is the deal-breaker for me)

Argotic

  • hasn't been updated since Jul 2 2008
  • is slow (see above)
  • has very good support for all types of feeds: all version of atom, rss, rdf (as far as I can tell)
  • is slightly harder to use than System.ServiceModel.Sydication; you need to determine what kind of feed you have before letting Argotic parse it, and then you need custom logic to deal with each of 3 different classes depending on the type of feed. In other words, you need to wrap Argotic before it's useful.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文