-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, asking for HTML with the Mashlib configuration will lead to a constant HTML file:
Recipes/mashlib/config-mashlib.json
Lines 43 to 58 in 64595db
| { | |
| "comment": "Serve Databrowser as default representation", | |
| "@id": "urn:solid-server:default:DefaultUiConverter", | |
| "@type": "ConstantConverter", | |
| "contentType": "text/html", | |
| "filePath": "./node_modules/mashlib/dist/databrowser.html", | |
| "options_container": true, | |
| "options_document": true, | |
| "options_minQuality": 1, | |
| "options_disabledMediaRanges": [ | |
| "image/*", | |
| "application/pdf" | |
| ] | |
| }, | |
| { |
@timbl has suggested an experiment in which we embed the Turtle representation of a resource into the Mashlib HTML.
Steps:
- Create an EJS or Handlebars template where the Mashlib HTML has a placeholder for Turtle
- Fill the Turtle placeholder with the incoming stream (which will be Turtle)
- Wire up this new template, indicating that it converts
text/turtleintotext/html
Bonus: for non-RDF resources, keep on serving the static Mashlib HTML.
Original context: https://gitter.im/solid/solidos?at=630e32103a42316d33c864f7
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request