A planet style feed aggregator written in Ruby
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
aggregator.rb
showcase.rb

README

Pluto is a feed aggregator used to create sites similar to PlanetRubyonRails.com written by Bradly Feeley

Required gems:
  erubis
  activesupport
  feed-normalizer


Example implementation:
  require 'aggregator'
  require 'showcase'

  merb_feeds = Aggregator.new( [
    'http://yehudakatz.com/feed/',
    'http://feedproxy.feedburner.com/crazycool',
    'http://www.merbing.com/articles.rss',
    'http://blog.merbivore.com/articles.rss',
    'http://merbist.com/feed/',
    'http://feeds.feedburner.com/gweezlebur',
    'http://jackndempsey.blogspot.com/feeds/posts/default',
    'http://brainspl.at/xml/rss20/feed.xml',
    'http://feeds.feedburner.com/blogspot/hassox' ] )

  twitter_feeds = Aggregator.new( [
    'http://search.twitter.com/search.atom?q=merb',
    'http://twitter.com/statuses/user_timeline/16334375.rss'] )

  view = Showcase.new(merb_feeds, twitter_feeds, 15)
  view.render_output

The code about assumes you have a Erubis file called default.html in the working directory. Just set this script to run every 15 minutes with a cronjob and your all set!

Pluto was written by Bradly Feeley (http://www.bradlyfeeley.com)