json-ld.org icon indicating copy to clipboard operation
json-ld.org copied to clipboard

Add schema.org playground examples

Open dlongley opened this issue 11 years ago • 2 comments

We should add some schema.org examples to the playground. It should be fairly easy grab them from schema.org. We may just want to replace a couple of existing ones so the number of examples isn't overwhelming.

dlongley avatar Jun 18 '14 18:06 dlongley

I have a script in the Structured-data Linter which does just this; get them from guha's repo and parse; they're all in a text file.

http://github.com/structured-data/linter http://linter.structured-data.org/

Gregg

On Wednesday, June 18, 2014, Dave Longley [email protected] wrote:

We should add some schema.org examples to the playground. It should be fairly easy grab them from schema.org. We may just want to replace a couple of existing ones so the number of examples isn't overwhelming.

— Reply to this email directly or view it on GitHub https://github.com/json-ld/json-ld.org/issues/351.

gkellogg avatar Jun 18 '14 20:06 gkellogg

I extract them all in the linter, it is pretty simple. I have code which both extracts the examples, and creates a view placing them in the class hierarchy.

http://github.com/structured-data/linter.

Gregg Kellogg Sent from my iPhone

On Jun 18, 2014, at 11:33 AM, Dave Longley [email protected] wrote:

We should add some schema.org examples to the playground. It should be fairly easy grab them from schema.org. We may just want to replace a couple of existing ones so the number of examples isn't overwhelming.

— Reply to this email directly or view it on GitHub.

gkellogg avatar Jun 24 '14 18:06 gkellogg