davidagraf / doi2bib

give us a DOI and we'll do our best to get you the BibTeX entry
www.doi2bib.org
118 stars 15 forks source link

Support for arXiv DOIs? #39

Open andrewfowlie opened 2 years ago

andrewfowlie commented 2 years ago

arXiv now mints DOIs for articles through DataCite. The format is:

10.48550/arXiv.{arXiv_ID}

They can be used if no publisher DOI is available for arXiv entries. I.e., I propose if doi2bib cannot find a doi associated with an arXiv, it builds the above one and uses that.

I'm trying to implement this in my firefox add on (https://addons.mozilla.org/en-US/firefox/addon/bibtexify/). It works in princple, except that the arXiv DataCite DOIs seem to have some cors problems (the don't set "Access-Control-Allow-Origin = *" or anything similar). But trying the DOIs on doi2bib.com it seems you have already got around potential cors problems somehow.