- From: David I. Lehn <dil@lehn.org>
- Date: Fri, 15 Jul 2011 16:52:38 -0400
- To: Kingsley Idehen <kidehen@openlinksw.com>
- Cc: public-linked-json@w3.org
On Mon, Jul 11, 2011 at 12:24 PM, Kingsley Idehen <kidehen@openlinksw.com> wrote: > Manu: can you add an option such that users can pass a JSON-LD resource URL? > Once in place, I can then pass SPARQL Protocol URLs (where graph > serialization format is set to JSON-LD) to this program via cut and paste > :-) > I added playground support for loading JSON-LD and/or frame data via the query parameters "json-ld" and "frame". The parameters can be either encoded JSON data or URLs. Remote URLs must be CORS enabled. The playground also generates a permalink using the current page data (which can be quite unwieldy, but hey, it works). Some short examples: JSON-LD string: http://goo.gl/X20Jz JSON-LD URL: http://goo.gl/9wbOf And the associated long versions: http://json-ld.org/playground/?json-ld=%7B%22name%22%3A%22Manu%20Sporny%22%2C%22homepage%22%3A%22http%3A%2F%2Fmanu.sporny.org%2F%22%2C%22%40context%22%3A%7B%22name%22%3A%22http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2Fname%22%2C%22homepage%22%3A%22http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2Fhomepage%22%2C%22xsd%22%3A%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%22%2C%22%40coerce%22%3A%7B%22xsd%3AanyURI%22%3A%5B%22homepage%22%5D%7D%7D%7D&frame=%7B%7D http://json-ld.org/playground/?json-ld=http%3A%2F%2Fmanu.sporny.org%2Fjson-ld%2Fexamples%2Fperson.jsonld -dave
Received on Friday, 15 July 2011 22:31:20 UTC