Other Resources:
What Is DOI Content Negotiation
What is DOI Content Negotiation?
✍: FYIcenter.com
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
2022-10-06, 366👍, 0💬
Popular Posts:
How to use crossref.org API URL, /works/{doi}/transform/{ mime},for DOI content negotiation? crossre...
Paper Summary: Title: Iron status predicts cognitive test performance of primary school children fro...
What is DOI document URL redirect or DOI Resolver? DOI document URL redirect, also called DOI Resolv...
How to download scientific papers in bulk with BitTorrent? If you want to download scientific papers...
How to use the Bulk FTP Download service at ftp.ncbi.nlm.nih.gov/pub /pmc?The Bulk FTP Download serv...