-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a Mashlib configuration that embeds the Turtle representation into the HTML #24
Comments
We would need a new Both of these should be put in a new Extra nice bonus would be if the HTML output could be streaming, but that would probably require a new templating engine or a custom solution. |
DataIIslandN3ToHTMLConverter maybe |
The Data Island style is what is being tested. |
I wonder if we cannot just adjust the existing HTML templating engine into an (optional) convertor. The convertor input would be "any text stream", such that the HTML templating engine can take a text (plus content-type metadata) and process it with the rest of the parameters. |
I would not overload the templating engine itself with extra functionality but wrap something around it, which is what that |
I would encourage embedding of both RDF-Turtle and JSON-LD, or at the very least JSON-LD. Why? /cc @timbl |
Definitely agree with that, @kidehen. Small practicality is that we don't have a MIME tyoe for clients to request the different ones, but profiles could do |
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
@timbl has suggested an experiment in which we embed the Turtle representation of a resource into the Mashlib HTML.
Steps:
text/turtle
intotext/html
Bonus: for non-RDF resources, keep on serving the static Mashlib HTML.
Original context: https://gitter.im/solid/solidos?at=630e32103a42316d33c864f7
The text was updated successfully, but these errors were encountered: