public
Description: A planet style feed aggregator written in Ruby
Homepage:
Clone URL: git://github.com/bradly/pluto.git
pluto / README
100644 34 lines (25 sloc) 1.144 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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)