Skip to content
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

Additional resources #232

Merged
merged 6 commits into from
Jun 20, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions common/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
"@container": "@set",
"@id": "http://www.w3.org/ns/wpub#resources"
},
"externalResources": {
"@container": "@set",
"@id": "http://www.w3.org/ns/wpub#resources"
},
"tableOfContents": {
"@id": "http://www.w3.org/ns/wpub#tableOfContents"
},
Expand Down
8 changes: 8 additions & 0 deletions common/js/biblio.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,13 @@ var biblio = {
"schema.org": {
"title": "Schema.org",
"href": "https://schema.org"
},
"onix": {
"title": "ONIX for Books",
"href": "http://www.editeur.org/83/Overview"
},
"bibtex": {
"title": "BibTeX Format Description",
"href" : "http://www.bibtex.org/Format/"
}
}
118 changes: 61 additions & 57 deletions experiments/w3c_rec/full_version.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,76 +5,69 @@
<link href="#wpm" rel="publication" />
...
<script id="wpm" type="application/ld+json">
{
{
"@context" : [
"https://schema.org",
"https://www.w3.org/ns/wpub.jsonld",
{
"@language" : "en-US"
}
],
"@type" : "CreativeWork",
"@type" : "CreativeWork",
"id" : "http://www.w3.org/TR/tabular-data-model/",
"url" : "http://www.w3.org/TR/2015/REC-tabular-data-model-20151217/",
"accessMode" : ["textual", "visual"],
"accessModeSufficient" : ["textual"],
"editor" : [
{
"@type" : "Person",
"name" : "Jeni Tennison",
"givenName" : "Jeni",
"familyName" : "Tennison",
"affiliation" : {
"name" : "The Open Data Institute",
"url" : "http://theodi.org/"
}
},
{
"@type" : "Person",
"@id" : "http://greggkellogg.net/",
"name" : "Gregg Kellogg",
"givenName" : "Gregg",
"familyName" : "Kellogg",
"affiliation" : {
"name" : "Kellogg Associates",
"url" : "http://kellogg-assoc.com/"
}
"editor" : [{
"@type" : "Person",
"name" : "Jeni Tennison",
"givenName" : "Jeni",
"familyName" : "Tennison",
"affiliation" : {
"name" : "The Open Data Institute",
"url" : "http://theodi.org/"
}
],
"author" : [
{
"@type" : "Person",
"name" : "Jeni Tennison",
"givenName" : "Jeni",
"familyName" : "Tennison",
"affiliation" : {
"name" : "The Open Data Institute",
"url" : "http://theodi.org/"
}
},
{
"@type" : "Person",
"@id" : "http://greggkellogg.net/",
"name" : "Gregg Kellogg",
"givenName" : "Gregg",
"familyName" : "Kellogg",
"affiliation" : {
"name" : "Kellogg Associates",
"url" : "http://kellogg-assoc.com/"
}
},
{
"@type" : "Person",
"@id" : "https://www.w3.org/People/Ivan/",
"name" : "Ivan Herman",
"givenName" : "Ivan",
"familyName" : "Herman",
"affiliation" : {
"name" : "World Wide Web Consortium",
"url" : "https://www.w3.org"
}
},{
"@type" : "Person",
"@id" : "http://greggkellogg.net/",
"name" : "Gregg Kellogg",
"givenName" : "Gregg",
"familyName" : "Kellogg",
"affiliation" : {
"name" : "Kellogg Associates",
"url" : "http://kellogg-assoc.com/"
}
],
}],
"author" : [{
"@type" : "Person",
"name" : "Jeni Tennison",
"givenName" : "Jeni",
"familyName" : "Tennison",
"affiliation" : {
"name" : "The Open Data Institute",
"url" : "http://theodi.org/"
}
},{
"@type" : "Person",
"@id" : "http://greggkellogg.net/",
"name" : "Gregg Kellogg",
"givenName" : "Gregg",
"familyName" : "Kellogg",
"affiliation" : {
"name" : "Kellogg Associates",
"url" : "http://kellogg-assoc.com/"
}
},{
"@type" : "Person",
"@id" : "https://www.w3.org/People/Ivan/",
"name" : "Ivan Herman",
"givenName" : "Ivan",
"familyName" : "Herman",
"affiliation" : {
"name" : "World Wide Web Consortium",
"url" : "https://www.w3.org"
}
}],
"datePublished" : "2015-12-17",
"dateModified" : "2015-12-17",
"resources" : [
Expand Down Expand Up @@ -117,6 +110,17 @@
"fileFormat" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
}
],
"externalResources" : [{
"@type" : "PublicationLink",
"url" : "https://www.w3.org/Consortium/Legal/privacy-statement-20140324",
"fileFormat" : "text/html",
"rel" : "privacy-policy"
},{
"@type" : "PublicationLink",
"url" : "http://www.w3.org/Consortium/Legal/ipr-notice#Copyright",
"fileFormat" : "text/html",
"rel" : "copyright"
}],
"tableOfContents" : "#toc"
}
</script>
Expand Down
Loading