You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2023. It is now read-only.
Awaiting #16 to instead put the JS in ro-crate-preview-files/ could we change the default URL for crate.js to use a https://w3id.org/ permalink redirect, given that this URL will be hardcoded into the outputted HTML files, potentially saved for 10+ years?
I suggest using a major.minor versioned w3id permalink, which could link to a specific compatible unkpg.com release. These redirects can then be updated when known to work, or left frozen for outputs of older releases of ro-crate-js.
The text was updated successfully, but these errors were encountered:
The generated
ro-crate-preview.html
links to https://data.research.uts.edu.au/examples/ro-crate/examples/src/crate.js in a<script>
tag, unless overriden with-c
flag.Awaiting #16 to instead put the JS in
ro-crate-preview-files/
could we change the default URL forcrate.js
to use a https://w3id.org/ permalink redirect, given that this URL will be hardcoded into the outputted HTML files, potentially saved for 10+ years?Another problem is that older RO-Crates then assume that whatever new version of
crate.js
on https://data.research.uts.edu.au/examples/ro-crate/examples/src/crate.js is still backwards compatible to the fixed HTML and RO-Crate JSON-LD.The companion https://github.com/UTS-eResearch/ro-crate-html-js uses https://unpkg.com/[email protected]/dist/ro-crate-dynamic.js which at least is versioned - but again this direct URL relies on third-party
unkpg.com
to remain available.I suggest using a major.minor versioned w3id permalink, which could link to a specific compatible unkpg.com release. These redirects can then be updated when known to work, or left frozen for outputs of older releases of
ro-crate-js
.The text was updated successfully, but these errors were encountered: