Serveable simplifies creating a Rack mountable site. It contains a
Site module and an
Item module. These can be mixed into classes that expose
the correct interface to turn them into easy Rack-fodder.
That interface you speak of...
example/simple.rb for a basic implementation.
Site must implement the following:
#each(&block), which enumerates
Item type objects.
Item must implement the following:
#contents, that returns the contents;
#url, that returns the full url to serve at.