Collections:
Other Resources:
DOI Content in Citeproc JSON Format
How to represent DOI content in Citeproc JSON format?
✍: FYIcenter.com
Citeproc JSON is also called as CSL-JSON Schema,
which uses JSON to store citation data for the
Citation Style Language (CSL).
You can use the DOI Content Negotiation service provided by doi.org to represent the content of a given DOI in Citeproc JSON format.
The Citeproc JSON format is triggered by the "application/vnd.citationstyles.csl+json" MIME type as shown this HTTP request syntax:
GET https://doi.org/{doi} HTTP/1.1
Accept: application/vnd.citationstyles.csl+json
Here is an example of how to use the DOI Content Negotiation service to get the Citeproc JSON format of a given DOI:
fyicenter$ curl -H "Accept: application/vnd.citationstyles.csl+json" \ 'https://doi.org/10.1126/science.169.3946.635' <html><head><title>Handle Redirect</title></head> <body> <a href="https://api.crossref.org/v1/works/10.1126%2Fscience.169.3946.635/transform"> https://api.crossref.org/v1/works/10.1126%2Fscience.169.3946.635/transform</a> </body></html>
Okay, doi.org is not serving this Content Negotiation request directly. It is redirecting you to api.crossref.org to get the response.
You can add the -L option to let "curl" follow the redirected location. api.crossref.org will return you the DOI content in Citeproc JSON format.
fyicenter$ curl -LH "Accept: application/vnd.citationstyles.csl+json" \
'https://doi.org/10.1126/science.169.3946.635'
{
"DOI": "10.1126/science.169.3946.635",
"ISSN": [
"0036-8075",
"1095-9203"
],
"URL": "http://dx.doi.org/10.1126/science.169.3946.635",
"alternative-id": [
"10.1126/science.169.3946.635"
],
"author": [
{
"affiliation": [
{
"name": "University of Pittsburgh, Mellon Institute of Carnegie-Mellon University"
}
],
"family": "Frank",
"given": "Henry S.",
"sequence": "first"
}
],
"container-title": "Science",
"container-title-short": "Science",
"content-domain": {
"crossmark-restriction": false,
"domain": []
},
"created": {
"date-parts": [
[
2006,
10,
5
]
],
"date-time": "2006-10-05T12:56:56Z",
"timestamp": 1160053016000
},
...
As you can see from the output, Citeproc JSON format provides you must more information than other representation formats.
⇒ DOI Content in RDF XML Format
⇐ DOI Content in Schema.org in JSON-LD Format
2022-10-06, ∼1668🔥, 0💬
Popular Posts:
Paper Summary: Title: An Empirical Examination of the Dynamic Linkages of Faith-Based Socially Respo...
Paper Summary: Title: Interaction of light with thin liquid membranes Author(s): Patsyk, Anatoly ;Ba...
Paper Summary: DOI: 10.1016/j.jclepro.2023.1 36123Received on: 2024-05-03
How to use GraphQL API, api.datacite.org/graphql ?GraphQL API, api.datacite.org/graphql ,allows you ...
Paper Summary: Title: Planning and Leading Effective Meetings Author(s): LeBlanc, Linda A.; Nosik, M...