What Is DOI Content Negotiation

Q

What is DOI Content Negotiation?

✍: FYIcenter.com

A

DOI Content Negotiation is a Web service provided by doi.org that allows you to request a particular representation of metadata associated with a given DOI.

DOI Content Negotiation is done by a HTTPS request with an explicit header called "Accept" to specify the MIME type identifying a particular representation. Here is the syntax of the HTTPS request on DOI Content Negotiation:

GET https://doi.org/{doi} HTTP/1.1
Accept: {mime}

DOI Content Negotiation supports the following MIME types for different representations:

MIME Type                               Representation
--------------------------------------- ------------------------
application/rdf+xml                     RDF XML
application/vnd.citationstyles.csl+json Citeproc JSON
application/vnd.crossref.unixref+xml    Crossref Unixref XML
application/vnd.crossref.unixsd+xml     Crossref UNIXSD XML
application/vnd.datacite.datacite+xml   DataCite XML
application/vnd.medra.onixdoi+xml       ONIX for DOI
application/vnd.schemaorg.ld+json       Schema.org in JSON-LD
application/x-bibtex                    BibTeX
application/x-research-info-systems     RIS
text/html                               HTML Redirect
text/turtle                             RDF Turtle
text/x-bibliography                     Formatted text citation

Here is an example of how to use the DOI Content Negotiation service to get the HTML Redirect representation of a given DOI:

fyicenter$ curl -H "Accept: text/html" 'https://doi.org/10.1126/science.169.3946.635'

<html>
<head>
<title>Handle Redirect</title>
</head>
<body>
<a href="https://www.science.org/doi/10.1126/science.169.3946.635">
https://www.science.org/doi/10.1126/science.169.3946.635</a>
</body>
</html>

As you can see from the output, the HTML Redirect representation provides you a hyper link in a HTML document pointing to the official Website where the DOI document is located.

See next tutorials for other representations.

 

DOI Content in Formatted Text Citation

DOI Content Negotiation at doi.org

DOI Content Negotiation at doi.org

⇑⇑ DOI - Frequently Asked Questions

2022-10-06, 404👍, 0💬