Skip to content
Research Object Crate (RO-Crate) utilities
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
lib Fixed test Dec 5, 2019
test Fixed test Dec 5, 2019
test_data
.gitignore
LICENSE
README.md Added rudimentary instructions Nov 13, 2019
index.js Fixed index.js Aug 13, 2019
makehtml.js
package-lock.json 1.2.16 Dec 2, 2019
package.json

README.md

ro-crate : Research Object Crate (RO-Crate) utilities

This is an early version ALPHA quality library to support Research Object Crate ([RO-Crate]https://researchobject.github.io/ro-crate/())

HTML Rendering

To render HTML for an RO-Crate, use makehtml, with a URL to the ro-crate.js rendering script. Eg:

makehtml test_data/sample-ro-crate-metadata.jsonld -c https://data.research.uts.edu.au/examples/ro-crate/examples/src/crate.js

Regenerating crate.js

To create the rendering script for an RO-Crate HTML file (ro-crate-preview.html):

browserify lib/entry.js -o lib/crate.js

(We will put a copy of this on the RO-Crate site when the spec is released in version 1 and make it the default).

You can’t perform that action at this time.