Another planet generator in ruby - lets you build web pages from published web feeds.
- home :: github.com/feedreader/pluto
- bugs :: github.com/feedreader/pluto/issues
- gem :: rubygems.org/gems/pluto
- rdoc :: rubydoc.info/gems/pluto
- forum :: groups.google.com/group/feedreader
Use the pluto
command line tool and pass in one or more planet configuration files.
Example:
pluto build ruby.ini or
pluto b ruby
This will
-
fetch all feeds listed in
ruby.ini
and -
store all entries in a local database, that is,
ruby.db
in your working folder and -
generate a planet web page, that is,
ruby.html
using theblank
template pack in your working folder using all feed entries from the local database.
Open up ruby.html
to see your planet web page. Voila!
Note: If you pass in no planet configuration files, the pluto
command line tool will look
for the default planet configuration files,
that is, pluto.ini
, pluto.yml
, planet.ini
, planet.yml
.
NAME
pluto - another planet generator - lets you build web pages from published web feeds
SYNOPSIS
pluto [global options] command [command options] [arguments...]
GLOBAL OPTIONS
-c, --config=PATH - Configuration Path (default: ~/.pluto)
-q, --quiet - Only show warnings, errors and fatal messages
--verbose - (Debug) Show debug messages
--version - Display the program version
--help - Show this message
COMMANDS
build, b - Build planet
install, i - Install template pack
list, ls, l - List installed template packs
update, up, u - Update planet feeds
merge, m - Merge planet template pack
about, a - (Debug) Show more version info
help - Shows a list of commands or help for one command
NAME
build - Build planet
SYNOPSIS
pluto [global options] build [command options] FILE
COMMAND OPTIONS
-o, --output=PATH - Output Path (default: .)
-t, --template=MANIFEST - Template Manifest (default: blank)
-d, --dbpath=PATH - Database path (default: .)
-n, --dbname=NAME - Database name (default: <PLANET>.db e.g. ruby.db)
EXAMPLE
pluto build ruby.ini
pluto build ruby.ini --template news
pluto b ruby
pluto b ruby -t news
pluto b # will use pluto.ini|pluto.yml|planet.ini|planet.yml if present
NAME
list - List installed template packs
SYNOPSIS
pluto [global options] list
EXAMPLE
pluto list
pluto ls
NAME
install - Install template pack
SYNOPSIS
pluto [global options] install MANIFEST
EXAMPLE
pluto install news # install "river of news" template pack
NAME
update - Update planet feeds
COMMAND OPTIONS
-d, --dbpath=PATH - Database path (default: .)
-n, --dbname=NAME - Database name (default: <PLANET>.db e.g. ruby.db)
SYNOPSIS
pluto [global options] update FILE
EXAMPLE
pluto update ruby.ini
pluto u ruby
NAME
merge - Merge planet template pack
SYNOPSIS
pluto [global options] merge [command options] FILE
COMMAND OPTIONS
-o, --output=PATH - Output Path (default: .)
-t, --template=MANIFEST - Template Manifest (default: blank)
-d, --dbpath=PATH - Database path (default: .)
-n, --dbname=NAME - Database name (default: <PLANET>.db e.g. ruby.db)
EXAMPLE
pluto merge ruby.ini
pluto merge ruby.ini --template news
pluto m ruby
pluto m ruby -t news
ruby.ini
:
title = Planet Ruby
[rubyflow]
title = Ruby Flow
link = http://rubyflow.com
feed = http://feeds.feedburner.com/Rubyflow?format=xml
[rubyonrails]
title = Ruby on Rails Blog
link = http://weblog.rubyonrails.org
feed = http://weblog.rubyonrails.org/feed/atom.xml
[viennarb]
title = vienna.rb Blog
link = http://vienna-rb.at
feed = http://vienna-rb.at/atom.xml
or ruby.yml
:
title: Planet Ruby
rubyflow:
title: Ruby Flow
link: http://rubyflow.com
feed: http://feeds.feedburner.com/Rubyflow?format=xml
rubyonrails:
title: Ruby on Rails Blog
link: http://weblog.rubyonrails.org
feed: http://weblog.rubyonrails.org/feed/atom.xml
viennarb:
title: vienna.rb Blog
link: http://vienna-rb.at
feed: http://vienna-rb.at/atom.xml
For more samples, see nytimes.ini
,
js.ini
,
dart.ini
,
haskell.ini
,
viennarb.ini
,
beer.ini
,
football.ini
.
- Blank - default templates; more »
- News - 'river of news' style templates; more »
- Top - Popurl-style templates; more »
- Classic - Planet Planet-Style templates; more »
Just install the gem:
$ gem install pluto
pluto.live
- sample planet site; sinatra web app/starter template in ruby using the pluto gem
planet.rb
by Akira Yamada (Site)
planet.rb
by Pablo Astigarraga (Site) - used with jekyll/octopress site generator
Planet Mars by Sam Ruby (Site) - first draft of cleaned up Planet Planet code; last change in 2008
Planet Planet by Scott James Remnant and Jeff Waugh (Site) - uses Mark Pilgrim's universal feed parser (RDF, RSS and Atom) and Tomas Styblo's templating engine; last release version 2.0 in 2006
Planet Venus by Sam Ruby (Site) - cleaned up Planet Planet code; last change in 2010
The pluto
scripts are dedicated to the public domain.
Use it as you please with no restrictions whatsoever.
Send them along to the Planet Pluto and Friends Forum/Mailing List. Thanks!