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
html can be part of content negociation on a server with an Accept Header for GET and PATCH.
PUT/POST/DELETE are meant on an entire document
The same can be done in rdflib
the result is RDF content that is used in rdflib store
can a serialized RDF content be inserted in an html document as a replacement to an existing data island or creating a new one ?
How to resolve the need for 2 contentType's : text/html and an RDF one for the data Island ?
The text was updated successfully, but these errors were encountered:
can a serialized RDF content be inserted in an html document as a replacement to an existing data island or creating a new one ?
This is a relatively easy thing to do. Data islands are simply <script type="..."> ... </script> elements, so are easily replaced within an HTML document. Some care must be taken with escaping reserved characters within the data islands, among other potential gotchas, but most if not all of these can be handled with automation.
How to resolve the need for 2 contentType's : text/html and an RDF one for the data Island ?
There's no "need for 2 contentTypes". The HTML document is text/html (or other HTML media type), and the <script type="..."> attribute is set as appropriate to the island, e.g., type="application/ld+json" or type="text/turtle".
Is it an issue for rdflib or solid server ?
html can be part of content negociation on a server with an Accept Header for GET and PATCH.
PUT/POST/DELETE are meant on an entire document
The same can be done in rdflib
How to resolve the need for 2 contentType's : text/html and an RDF one for the data Island ?
The text was updated successfully, but these errors were encountered: