public
Fork of rubys/mars
Description: Yet Another Planet Refactoring
Homepage: http://intertwingly.net/blog/2007/12/19/Yet-Another-Planet-Refactoring
Clone URL: git://github.com/technomancy/mars.git
mars /
name age message
file .gitignore Fri Jun 27 09:15:35 -0700 2008 a bit more comments [technomancy]
file Manifest.txt Thu Jul 10 21:10:43 -0700 2008 gem actually builds now; heh [technomancy]
file README Fri Jun 27 09:15:35 -0700 2008 a bit more comments [technomancy]
file Rakefile.rb Thu Jul 10 21:10:43 -0700 2008 gem actually builds now; heh [technomancy]
directory bin/ Thu Jul 10 21:10:43 -0700 2008 gem actually builds now; heh [technomancy]
directory lib/ Thu Jul 10 13:52:58 -0700 2008 fixed source elements [technomancy]
directory test/ Fri Jun 27 17:43:14 -0700 2008 blogroll in example template should use config ... [technomancy]
directory tools/ Fri Mar 28 18:34:10 -0700 2008 Add full Mars bzr tree. [Scott Bronson]
README
= Mars

Mars is a feed aggregator!

http://intertwingly.net/blog/2007/12/19/Yet-Another-Planet-Refactoring

== Installation

Most of the prerequisites will be handled by Rubygems. Unfortunately
the latest html5lib package contains a bug that's only fixed in 0.10.1
(currently only in SVN trunk).

  $ svn checkout http://html5lib.googlecode.com/svn/trunk/ html5lib
  $ cd html5lib/ruby && rake install_gem

TODO: make this gem available somewhere. (Ideally rubyforge, but whatever.)

In addition, Mars needs a *working* XML parser (REXML version 3.1.6
won't do). The easiest thing to do is probably to install the ruby
bindings to libxml2. On debian-based systems:

  $ sudo apt-get install libxml2-dev && sudo gem install libxml-ruby

But you can also get a more recent REXML if you don't have a compiler:

  $ svn co http://www.germane-software.com/repos/rexml/trunk/ rexml
  $ export RUBYLIB="/path/rexml/src"

== Usage

  $ planet $CONFIG_FILE

Config files may be in INI or YAML. See test/config.yml for an example.

TODO: list required values?

== License

(The MIT License)

Copyright (c) Sam Ruby and contributors

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.