Description
Pull the RSS feed for any website you want without worrying about the RSS feed existence or engine. The gem takes a URL address, finds the RSS feed, detects the generator and returns standardized feed interface as a simple Ruby object.
The RSSable Ruby gem alternatives and similar gems
Based on the "RSS" category.
Alternatively, view The RSSable Ruby gem alternatives based on common mentions on social networks and blogs.
-
Simple rss
A simple, flexible, extensible, and liberal RSS and Atom reader for Ruby. It is designed to be backwards compatible with the standard RSS parser, but will never do RSS generation. -
feedparser
feedparser gem - (universal) web feed parser and normalizer (XML w/ Atom or RSS, JSON Feed, HTML w/ Microformats e.g. h-entry/h-feed or Feed.HTML, Feed.TXT w/ YAML, JSON or INI & Markdown, etc.) -
html2rss
📰 Build RSS 2.0 feeds from websites (and JSON APIs) automatically or with a few CSS selectors. -
The WordpRSS Ruby gem
A simple Ruby interface for pulling a RSS feed of any blog with the wordpress engine
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of The RSSable Ruby gem or a related project?
README
The RSSable Ruby gem
Pull the RSS feed for any website you want without worrying about the RSS feed existence or engine. The gem takes a URL address, finds the RSS feed, detects the generator and returns standardized feed interface as a simple Ruby object.
Installation
gem install rssable
What drivers are currently supported
In the most cases, all RSS feeds have the main structure standardized but sometimes it is required to parse the feed differently. Currently, following custom drivers are supported: wordpress
, blogger
, medium.com
and jekyll
. However, any RSS feed should work very well out of the box. If you will find a feed with the different structure that the gem does not handle well, please submit a new issue.
Usage Examples
All you have to do is to subscribe to a given URL (without specyfing the RSS feed URL):
channel = RSSable.subscribe("http://pdabrowski.com/blog")
channel.title # => "Ruby on Rails and Stuff by Paweł Dąbrowski"
If the RSS feed is not available it will return nil
:
RSSable.subscribe("https://github.com") # => nil
Access the channel data
You can access the main channel attributes:
channel = RSSable.subscribe("http://pdabrowski.com/blog")
feed.title # => "Ruby on Rails and Stuff by Paweł Dąbrowski"
feed.description # => "Web development with Ruby on Rails"
feed.link # => "http://pdabrowski.com/blog"
Access the channel items
You can access the channel items by calling #items
on the channel instance:
items = channel.items
items.size # => 10
last_article = items.first
last_article.title # => "3 things that slow down and make your RSpec tests worse"
last_article.link # => "http://pdabrowski.com/blog/ruby-on-rails/testing/3-things-that-slow-down-and-make-your-rspec-tests-worse/"
last_article.published_at # => "Wed, 21 Mar 2018 05:25:15 +0000"
last_article.author # => "Paweł Dąbrowski"
last_article.description # => "There are a lot of things that can slow down your tests – some of them are related to your code and some not."
last_article.tags # => ["Ruby on Rails", "RSpec"]
last_article.comments_count # => 15
Supported Ruby Versions
This gem was tested on the 2.5.0 version. If it's not working with older versions please add a new issue.
Committers and Contributors
Copyright
Copyright (c) 2018 Paweł Dąbrowski. See [LICENSE][] for details.
*Note that all licence references and agreements mentioned in the The RSSable Ruby gem README section above
are relevant to that project's source code only.