DOI Content in ONIX for DOI Format

Q

How to represent DOI content in ONIX for DOI format?

✍: FYIcenter.com

A

ONIX for DOI is an XML schema used by mEDRA.org which is a DOI Registration Agency in Italy. If you want to register a new DOI with mEDRA.org you need submit your request in ONIX for DOI format.

The ONIX for DOI format is triggered by the "application/vnd.medra.onixdoi+xml" MIME type as shown this HTTP request syntax:

GET https://doi.org/{doi} HTTP/1.1
Accept: application/vnd.medra.onixdoi+xml  

Here is an example of how to use the DOI Content Negotiation service to get the ONIX for DOI format of a given DOI:

fyicenter$ curl -H "Accept: application/vnd.medra.onixdoi+xml" \
  '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 ONIX for DOI format.

fyicenter$ curl -LH "Accept: application/vnd.medra.onixdoi+xml" \
  'https://doi.org/10.1126/science.169.3946.635'

No acceptable resource available.

Too bad. api.crossref.org does not support this content format.

 

DOI Content in DataCite XML Format

DOI Content in RDF XML Format

DOI Content Negotiation at doi.org

⇑⇑ DOI - Frequently Asked Questions

2022-10-06, 315👍, 0💬