/k12-ocx-ruby

Primary LanguageHTMLMIT LicenseMIT

gem install bundler
bundle install

Working with JSON-LD structured data

Inside json-ld directory run the first script to generate framed document

cd json-ld
./build-frame.rb

That will produce framed document

Execute sample script to generate new document with brand new markup

cd json-ld
./build-new-document.rb

That will build new HTML document

Working with RDFa structured data

Inside rfda directory run the first script to generate the graph to be used as reference

cd rdfa
./build-graph.rb

That will produce graph

Execute sample script to generate new document with brand new markup

cd rdfa
./build-new-document.rb

That will build new HTML document