Open rsdoiel opened 10 months ago
The Newt work is informative here. I can use YAML model attributes to render web forms and web display. I could also generated TypeScript/JavaScript code for interacting with static content or providing a Deno based web service.
Peter Sefton has done very interesting works with data crates where a bag can function as a static site. It would be interesting in taking what he has learned and applying it to dataset collections.
The root collection could hold a landing page as well as documentation drawn from collections.json and codemeta.json and a set of default Pandoc templates. Ideally you could take the collection, customize the Pandoc scripts and have it refresh the HTML presentation accordingly. The presumes access to the JSON objects in the collection, so should this be restricted to collections using Pairtree and SQLite3 storage?
If HTML is rendered then pagefind could provide search for the collection.
The dsweb command should allow for a prefix path so a dataset collection could be deployed in an existing website and still be useful.