||}}  //\  //\ _ ||\/|| ||@|| ~++~ ||@|| ||))
||\\ _\\  _\\    ||  || ||_||  ||  ||_|| ||\\

v 0.0.6

@GitHub: github.com/abhishekkr/rubygem_rss_motor @RubyGems: rubygems.org/gems/rss-motor

for support contact:

mail: [email protected]
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' => '....', ...}, ...] ]