paranoicsan / k12-ocx-ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:HTML 88.7%Language:Ruby 11.3%