README in rack-linkeddata-0.3.0 vs README in rack-linkeddata-1.0.0

- old
+ new

@@ -55,10 +55,17 @@ ### Defining a default Linked Data content type use Rack::LinkedData::ContentNegotiation, :default => "text/turtle" +Options are also passed to the writer, which can allow options to be shared among the application +and different components. + + shared_options = {:default => "text/turtle", :standard_prefixes => true, } + use Rack::LinkedData::ContentNegotiation, shared_options + run MyApplication, shared_options + ### Testing Linked Data content negotiation using `rackup` and `curl` $ rackup doc/examples/hello.ru $ curl -iH "Accept: text/plain" http://localhost:9292/hello @@ -79,11 +86,11 @@ client requested and understands. The middleware queries [RDF.rb][] for the MIME content types of known RDF serialization formats, so it will work with whatever serialization plugins that are currently available for RDF.rb. (At present, this includes support -for N-Triples, Turtle, RDF/XML, RDF/JSON and TriX.) +for N-Triples, N-Quads, Turtle, RDF/XML, RDF/JSON, JSON-LD, RDFa, TriG and TriX.) Documentation ------------- <http://datagraph.rubyforge.org/rack-linkeddata/> @@ -92,12 +99,12 @@ * {Rack::LinkedData::ContentNegotiation} Dependencies ------------ -* [Rack](http://rubygems.org/gems/rack) (>= 1.0.0) -* [Linked Data](http://rubygems.org/gems/linkeddata) (>= 0.3.0) +* [Rack](http://rubygems.org/gems/rack) (>= 1.4.4) +* [Linked Data](http://rubygems.org/gems/linkeddata) (>= 1.0) Installation ------------ The recommended installation method is via [RubyGems](http://rubygems.org/). @@ -108,16 +115,16 @@ Download -------- To get a local working copy of the development repository, do: - % git clone git://github.com/datagraph/rack-linkeddata.git + % git clone git://github.com/ruby-rdf/rack-linkeddata.git Alternatively, download the latest development version as a tarball as follows: - % wget http://github.com/datagraph/rack-linkeddata/tarball/master + % wget http://github.com/ruby-rdf/rack-linkeddata/tarball/master References ---------- * <http://www.w3.org/DesignIssues/LinkedData.html> @@ -136,9 +143,9 @@ ------- This is free and unencumbered public domain software. For more information, see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file. -[Rack]: http://rack.rubyforge.org/ -[RDF.rb]: http://rdf.rubyforge.org/ +[Rack]: http://rack.github.com/ +[RDF.rb]: http://ruby-rdf.github.com/rdf/ [Linked Data]: http://linkeddata.org/ [conneg]: http://en.wikipedia.org/wiki/Content_negotiation