-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
FY24 Sprint 26FY24 Sprint 26FY24 Sprint 26GREI Re-archGREI re-architecture-relatedGREI re-architecture-relatedSPA: Dataset page (View)Size: 10A percentage of a sprint. 7 hours.A percentage of a sprint. 7 hours.Waitingpm.GREI-d-2.7.1NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflowsNIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflowspm.GREI-d-2.7.2NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflowsNIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows
Description
Currently the JSF Dataset page has schema.org info embedded in the header, which in the future may be replaced with Croissant. The SPA version of the page has to replicate this.
Here is what it looks like in the JSF Header:
<script type="application/ld+json">{"@context":"http://schema.org","@type":"Dataset","@id":"https://doi.org/10.5072/FK2/SCYB0O","identifier":"https://doi.org/10.5072/FK2/SCYB0O","name":"Testing embargo","creator":[{"@type":"Person","givenName":"Guillermo","familyName":"Portas","name":"Portas, Guillermo"}],"author":[{"@type":"Person","givenName":"Guillermo","familyName":"Portas","name":"Portas, Guillermo"}],"datePublished":"2024-03-14","dateModified":"2024-03-14","version":"1","description":"test","keywords":["Business and Management"],"license":"http://creativecommons.org/publicdomain/zero/1.0","includedInDataCatalog":{"@type":"DataCatalog","name":"Root","url":"https://beta.dataverse.org"},"publisher":{"@type":"Organization","name":"Root"},"provider":{"@type":"Organization","name":"Root"},"distribution":[{"@type":"DataDownload","name":"dataverse_files (2).zip","encodingFormat":"application/zip","contentSize":4540,"contentUrl":"https://beta.dataverse.org/api/access/datafile/26133"},{"@type":"DataDownload","name":"FilesIT.java","encodingFormat":"text/x-java-source","contentSize":154657,"contentUrl":"https://beta.dataverse.org/api/access/datafile/26132"}]}
The Dataverse API for getting this uses the exporter, for Schema.org:
https://beta.dataverse.org/api/datasets/export?exporter=schema.org&persistentId=doi:10.5072/FK2/SCYB0O
And for Croissant format:
https://beta.dataverse.org/api/datasets/export?exporter=croissant&persistentId=doi:10.5072/FK2/SCYB0O
To test rich results Search Google Rich Results
Metadata
Metadata
Assignees
Labels
FY24 Sprint 26FY24 Sprint 26FY24 Sprint 26GREI Re-archGREI re-architecture-relatedGREI re-architecture-relatedSPA: Dataset page (View)Size: 10A percentage of a sprint. 7 hours.A percentage of a sprint. 7 hours.Waitingpm.GREI-d-2.7.1NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflowsNIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflowspm.GREI-d-2.7.2NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflowsNIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows
Type
Projects
Status
No status