====================================================================== ||}} //\ //\ _ ||\/|| ||@|| ~++~ ||@|| ||)) ||\\ _\\ _\\ || || ||_|| || ||_|| ||\\ ====================================================================== v 0.0.6 @GitHub: https://github.com/abhishekkr/rubygem_rss_motor @RubyGems: http://rubygems.org/gems/rss-motor for support contact: mail: abhikumar163@gmail.com http://www.twitter.com/aBionic ====================================================================== An easy to use RSS library to get kickstarted with using RSS Feeds. [How To Use]: Loading: + $ gem install rss-motor + 'require' the 'rss-motor' Usage: [+] passing a single RSS Link and fetching array of all items, with hash of nodes puts Rss::Motor.rss_items 'http://news.ycombinator.com/rss' Output: [{'title1' => '....', ...}, {'title2' => '....', ...}, ...] [+] passing a single RSS Link and fetching array of all items, with hash of nodes puts Rss::Motor.rss_items 'http://news.ycombinator.com/rss', ['comments'], {'media:content' => 'url'} Output: [{'title1' => '....', ..., 'media:content:url' => '...'}, {'title2' => '....', ..., 'media:content:url' => '...'}, ...] This will fetch hash with set of node values per rss item, including node value for 'comment'; value for 'url' attribute for node 'media:content' [+] filtering items from multiple rss-links having any from set of given keywords #case in-sensitive filtering puts Rss::Motor.rss_grep 'http://news.ycombinator.com/rss', ['ruby', 'android'] Output: ['ruby' => [ {'title1' => '....', ...}, {'title2' => '....', ...}, ...] 'android' => [ {'title1' => '....', ...}, {'title2' => '....', ...}, ...] ] [+] filtering items from multiple rss-links having any from set of given keywords, also grabbing entire rss item's link content and check it for filter #case in-sensitive filtering puts Rss::Motor.rss_grep_link 'http://news.ycombinator.com/rss', ['ruby', 'android'] Output: ['ruby' => [ {'title1' => '....', ...}, {'title2' => '....', ...}, ...] 'android' => [ {'title1' => '....', ...}, {'title2' => '....', ...}, ...] ] ===================================================================== =====================================================================
Project
rss-motor
boost up your RSS related applications with the motor available: https://github.com/abhishekkr/rubygem_rss_motor/blob/master/README
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Pull Requests
Development
Project Readme