Questions tagged [doi]

Digital object identifier, an international standard for document identification

A DOI name takes the form of a character string divided into two parts, a prefix and a suffix, separated by a slash. The prefix identifies the registrant of the name, and the suffix is chosen by the registrant and identifies the specific object associated with that DOI. Most legal Unicode characters are allowed in these strings, which are interpreted in a case-insensitive manner.

For example, in the DOI name 10.1000/182, the prefix is 10.1000 and the suffix is 182. The "10." part of the prefix identifies the DOI registry, and the characters 1000 in the prefix identify the registrant; in this case the registrant is the International DOI Foundation itself. 182 is the suffix, or item ID, identifying a single object (in this case, the latest version of the DOI Handbook). CrossRef, a major DOI registration agency, once recommended displaying DOI names using a URI scheme (for example, doi:10.1000/182), but this practice has been abandoned in favor of a URL (for example, http://dx.doi.org/10.1000/182). This URL provides the location of an HTTP proxy server which will redirect web accesses to the correct online location of the linked item.

DOI names can identify creative works (such as texts, images, audio or video items, and software) in both electronic and physical forms, performances, and abstract works such as licenses, parties to a transaction, etc. The names can refer to objects at varying levels of detail: thus DOI names can identify a journal, an individual issue of a journal, an individual article in the journal, or a single table in that article. The choice of level of detail is left to the assigner, but in the DOI system it must be declared as part of the metadata that is associated to a DOI name, using a data dictionary based on the indecs Content Model.

66 questions
2
votes
1 answer

Escaping DOI links in php - when esc_url() is not enough

I am writing php code that generates html that contains links to documents via their DOI. The links should point to https://doi.org/ followed by the DOI of the document. As the results is a url, I thought I could simply use php's esc_url() function…
cgogolin
  • 960
  • 1
  • 10
  • 22
2
votes
2 answers

Retrieve bibtex data from crossref by sending DOI from matlab: translation from ruby

I want to retrieve bibtex data (for building a bibliography) by sending a DOI (Digital Object Identifier) to http://www.crossref.org from within matlab. The crossref API suggests something like this: curl -LH "Accept: text/bibliography;…
Buck Thorn
  • 5,024
  • 2
  • 17
  • 27
2
votes
3 answers

Using preg_replace to linkify DOI

I'm looping through some text with embedded literature references. Some of these are DOI numbers, and I need to linkify them. Example text:
Interesting article here: doi:10.1203/00006450-199305000-00005
What I've tried so far: $html =…
a coder
  • 7,530
  • 20
  • 84
  • 131
1
vote
1 answer

How to download XLSX file from DOI link?

I want to download two files automatically from Python for a reproducible statistical analysis. These links https://doi.org/10.1371/journal.pone.0282068.s001 https://doi.org/10.1371/journal.pone.0282068.s002 I tried import requests url =…
Galen
  • 1,128
  • 1
  • 14
  • 31
1
vote
0 answers

LinkML schemata for DOI registration?

At https://www.crossref.org/xml-samples/ there are some examples for XML and Json Files that if i understand right are needed to register DOIs for certain items. I'd love to know whether there is already a LinkML schema equivalent available for…
Wolfgang Fahl
  • 15,016
  • 11
  • 93
  • 186
1
vote
1 answer

extract the identical beginning parts of multiple strings

I have multiple strings (so-called DOIs) like this: doi1 <- "10.1057/bp.2009.9" doi2 <- "10.1057/bp.2015.4" doi3 <- "10.1057/bp.2008.12" How do I best extract the common beginnings of the strings? The correct output should be 10.1057/bp.20. (My…
anpami
  • 760
  • 5
  • 17
1
vote
0 answers

Fetching Doi metadata using python

I want to fetch Bibtex citation from doi in Python. So the way I achieved it is by using this function: def BibtexFromDoi(doi): url = "http://dx.doi.org/" + doi headers = {"accept": "application/x-bibtex"} r =…
celia
  • 33
  • 10
1
vote
1 answer

Link directives in Rst grammar

How can I link directive with :doi: or :arxiv: in Rst. I'm making a document with Rst, but when I try to link with arxiv, it shows broken link. What I tried is below but not working. <:doi:`10.1145/2487575.2487591>` or :arxiv:`1309.0238`
puhuk
  • 464
  • 5
  • 15
1
vote
0 answers

Automate downloads using doi in Python

I have about 1000 links of articles with related doi within a csv file and I need to perform the download of these papers. I have tried in the following way: List_dois = [""] #here I have inserted the list of 1000 doi out =…
broke31
  • 9
  • 6
1
vote
0 answers

Can one create a HTML link that returns a bibtex entry from a given doi that would work in a GitHub wiki?

Suppose that one has a doi address, say http://doi.org/10.1103/PhysRevA.54.1098, and you would like to create a HTML link in a static webpage, say , such that when the user clicks on the a text file is loaded containing the bibtex entry…
vand
  • 35
  • 4
1
vote
1 answer

Why am I obtaining different results when running curl command from Terminal and in Java?

I have learned lots of suggestions to run curl in Java or its derivatives. For example, curl command in Java, using curl command in Java, etc. Also, I have figured out how to fetch the metadata of a given resource using DOI. From this instruction, I…
Tung
  • 1,579
  • 4
  • 15
  • 32
1
vote
1 answer

Python: Download papers from ScienceDirect by DOI with requests

I have an excel list of DOIs of papers I'm interested in. Based on this list, I would like to download all the papers. I tried to do it with request, as recommended in their documentation. But the pdf files I get are damaged. They are just some KB…
renrei
  • 11
  • 2
1
vote
2 answers

r convert list of DOIs to BibTeX

I have a list of DOIs that I would like to convert into BibTeX records. The bib2doi package doesn't seem to be working so I wrote the following code using R's curl package to scan through the list, create the bibtex record and append it to a file.…
JerryN
  • 2,356
  • 1
  • 15
  • 49
1
vote
1 answer

Datacite - You have to register metadata first! HTTP/1.1 412 Precondition Failed

After migrating our repository I want re-register existing dois to make them redirect to our new repository. Unfortunatly the datacite documentation didn't work for me. This is the example call from documentation: # PUT /doi $ curl -H…
jschnasse
  • 8,526
  • 6
  • 32
  • 72
1
vote
3 answers

Get author names from CrossRef (get text out of JSON)

I'm trying to get the author names of this paper by using the CrossRef API with curl. curl -LH "Accept: application/citeproc+json" http://dx.doi.org/10.3389/fpls.2011.00050 | jq .author Of course I get a JSON as response, but rather need pure text…