README in rdf-microdata-0.2.5 vs README in rdf-microdata-0.3.0
- old
+ new
@@ -1,6 +1,7 @@
# RDF::Microdata reader/writer
+[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-microdata.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-microdata)
[Microdata][] parser for RDF.rb.
## DESCRIPTION
RDF::Microdata is a Microdata reader for Ruby using the [RDF.rb][RDF.rb] library suite.
@@ -26,11 +27,13 @@
graph = RDF::Graph.load("etc/foaf.html", :format => :microdata)
## Note
This spec is based on the W3C HTML Data Task Force specification and does not support
-GRDDL-type triple generation, such as for html>head>title and <a>
+GRDDL-type triple generation, such as for html>head>title anchor tags.
+
+If the `RDFa` parser is available, {RDF::Microdata::Format} will not assert content type `text/html` or file extension `.html`, as this is also asserted by RDFa. Instead, the RDFa reader will invoke the microdata reader if an `@itemscope` attribute is detected.
## Dependencies
* [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.4)
* [RDF::XSD](http://rubygems.org/gems/rdf-xsd) (>= 0.3.4)
* [HTMLEntities](https://rubygems.org/gems/htmlentities) ('>= 4.3.0')
@@ -91,7 +94,7 @@
[RDF.rb]: http://rdf.rubyforge.org/
[YARD]: http://yardoc.org/
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
[Microdata]: http://dev.w3.org/html5/md/Overview.html "HTML Microdata"
-[Microdata RDF]: https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html "Microdata to RDF"
+[Microdata RDF]: http://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html "Microdata to RDF"
[Microdata doc]: http://rubydoc.info/github/ruby-rdf/rdf-microdata/frames