A simple gem to help with the RSS aggregation app creation
The WordpRSS Ruby gem alternatives and similar gems
Based on the "RSS" category.
Alternatively, view The WordpRSS Ruby gem alternatives based on common mentions on social networks and blogs.
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.)
📰 Build RSS 2.0 feeds from websites (and JSON APIs) with a few CSS selectors.
* 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 WordpRSS Ruby gem or a related project?
The WordpRSS Ruby gem
A simple interface for pulling a RSS feed of any blog with the wordpress engine
gem install wordprss
All you have to do is to subscribe to a given RSS feed and then you can access its data:
feed = WordpRSS::Channel.subscribe("http://pdabrowski.com/blog")
If you are not sure if the given blog is a wordpress engine, you can check this before subscribing to the channel:
Access feed data
You can access the feed attributes:
feed.title # => "Ruby on Rails and Stuff by Paweł Dąbrowski" feed.description # => "Web development with Ruby on Rails"
Access feed items
Each feed have 10 items by the default:
items = feed.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.creator # => "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"]
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.
Copyright (c) 2018 Paweł Dąbrowski. See [LICENSE] for details.
*Note that all licence references and agreements mentioned in the The WordpRSS Ruby gem README section above are relevant to that project's source code only.