Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Add Schema.org context for Dat Explore #615

Open
thadguidry opened this issue Sep 6, 2017 · 1 comment
Open

Add Schema.org context for Dat Explore #615

thadguidry opened this issue Sep 6, 2017 · 1 comment

Comments

@thadguidry
Copy link

thadguidry commented Sep 6, 2017

Here is the essential script for what we currently are exposing in the catalog listing (I think).
But correct me if I am wrong.
I'd like someone to point me to the area of code where we could begin leveraging Schema.org for published Dat's , then I can help contribute more. The idea is that each Dat would have a script snippet. You can play with it here: http://tinyurl.com/ybt2jyzv

It also seems that we probably want to expand the publish options to the Dat Registry to support more Schema.org context
https://docs.datproject.org/publish

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Dataset",
  "name": "${md.title}",
  "author": {
    "name":"${md.author}",
    "sameAs": "${md.twitterSite}"
  },
  "description": "${md.description}",
  "image": "${md.image}",
  "url": "${url}"
}
</script>
@teaserbot
Copy link

you want support linked data on dat archives? super cool 😎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant