Open stain opened 2 weeks ago
Looking into this - the issue is not with finding the root dataset - it works for me - it is making sure the root dataset shows when the page first loads.
@stain I was unable to reproduce this but I have changed the code so the Root entity always shows so you should not get any more blank docs - please retest (also changed the form so you can paste in ro-crate JSON but I can't do an upload button as such as this is serverless).
Please try again here: https://language-research-technology.github.io/ro-crate-html-lite/
We think we have fixed all the main issues with the thesis crate now @stain -- can you please try again.
(The elements are meant to be hidden - that is so that it works with large crates - they show up when they are in focus, ie when you click a link)
Using this file https://github.com/stain/s11.no/blob/main/content/2023/phd/ro-crate-metadata.json as input in Chromium I do get a generated HTML, but it renders as a blank page both in Chromium and Firefox.
It seems all elements are hidden by
.entity { display: none; position: static; top: 0; width: 100%; min-height: 100%; z-index: 1000; padding: 0px; }
and the root entity is not recognised.. because it's a detached crate or RO-Crate 1.2?