Sha256: 164e5933d3c6e50625ca8aea793d81535a16a34349d0d349329777ed80736343
Contents?: true
Size: 946 Bytes
Versions: 3
Compression:
Stored size: 946 Bytes
Contents
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..'))) require 'rdf' module RDF ## # **`RDF::Microdata`** is a Microdata plugin for RDF.rb. # # @example Requiring the `RDF::Microdata` module # require 'rdf/microdata' # # @example Parsing RDF statements from an HTML file # RDF::Microdata::Reader.open("etc/foaf.html") do |reader| # reader.each_statement do |statement| # puts statement.inspect # end # end # # @see http://rdf.rubyforge.org/ # @see http://www.w3.org/TR/2011/WD-microdata-20110525/ # # @author [Gregg Kellogg](http://kellogg-assoc.com/) module Microdata require 'rdf/microdata/format' require 'rdf/microdata/vocab' autoload :Profile, 'rdf/microdata/profile' autoload :Reader, 'rdf/microdata/reader' autoload :VERSION, 'rdf/microdata/version' def self.debug?; @debug; end def self.debug=(value); @debug = value; end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rdf-microdata-0.2.4 | lib/rdf/microdata.rb |
rdf-microdata-0.2.3.1 | lib/rdf/microdata.rb |
rdf-microdata-0.2.3 | lib/rdf/microdata.rb |