Skip to content

Commit

Permalink
Merge pull request #232 from w3c/additional-resources
Browse files Browse the repository at this point in the history
Additional resources
  • Loading branch information
GarthConboy authored Jun 20, 2018
2 parents 93663a3 + fe4e3a4 commit 8dd6539
Show file tree
Hide file tree
Showing 4 changed files with 308 additions and 119 deletions.
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

0 comments on commit 8dd6539

Please sign in to comment.