解析原子 &Ruby/Rails 中的 RSS? [英] Parsing Atom & RSS in Ruby/Rails?

查看:69
本文介绍了解析原子 &Ruby/Rails 中的 RSS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找可以让我在 Ruby 和 Rails 中解析 A​​tom 和 RSS 的东西.我看过标准的 RSS 库,但是否有一个库可以自动检测它是什么类型的提要并为我解析它?

I'm looking for something that will let me parse Atom and RSS in Ruby and Rails. I've looked at the standard RSS library, but is there one library that will auto-detect whatever type of feed it is and parse it for me?

推荐答案

Feedzirra 是更好的选择之一:http://www.pauldix.net/2009/02/feedzirra-a-ruby-feed-library-built-for-speed.html

Feedzirra is one of the better options: http://www.pauldix.net/2009/02/feedzirra-a-ruby-feed-library-built-for-speed.html

当然,我是有偏见的,因为我写了它.:)

Of course, I'm biased since I wrote it. :)

这篇关于解析原子 &Ruby/Rails 中的 RSS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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