Sha256: 1d684c3255f8418a729c158f2d9d78552fb23f12fee29a69c6db8303ad5add40
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
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 https://ruby-rdf.github.io/rdf/ # @see https://www.w3.org/TR/2011/WD-microdata-20110525/ # # @author [Gregg Kellogg](https://greggkellogg.net/) module Microdata USES_VOCAB = RDF::URI("http://www.w3.org/ns/rdfa#usesVocabulary") DEFAULT_REGISTRY = File.expand_path("../../../etc/registry.json", __FILE__) require 'rdf/microdata/format' require 'rdf/microdata/vocab' autoload :Expansion, 'rdf/microdata/expansion' autoload :Profile, 'rdf/microdata/profile' autoload :RdfaReader, 'rdf/microdata/rdfa_reader' autoload :Reader, 'rdf/microdata/reader' autoload :Registry, 'rdf/microdata/registry' autoload :VERSION, 'rdf/microdata/version' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rdf-microdata-3.3.0 | lib/rdf/microdata.rb |
rdf-microdata-3.2.1 | lib/rdf/microdata.rb |