Sha256: 7896e76e343b5c59258cc74a640aeed618172287ac2368845bea4ec7bd1e68aa
Contents?: true
Size: 994 Bytes
Versions: 5
Compression:
Stored size: 994 Bytes
Contents
$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..'))) require 'rdf' module RDF ## # **`RDF::Microdata`** is a Microdata extension 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://greggkellogg.net/) module Microdata USES_VOCAB = RDF::URI("http://www.w3.org/ns/rdfa#usesVocabulary") require 'rdf/microdata/format' require 'rdf/microdata/vocab' autoload :Expansion, 'rdf/microdata/expansion' autoload :Profile, 'rdf/microdata/profile' autoload :Reader, 'rdf/microdata/reader' autoload :VERSION, 'rdf/microdata/version' end end
Version data entries
5 entries across 5 versions & 1 rubygems