-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arXiv fetcher: import more information using DOI #9092
Comments
From what I've seen from the arXiv importer and the usual API responses, the extraction of the DOI from the arXiv ID is only trivial when the author provides it. The displayed DOI on their site may actually be one generated from DataCite (see image below), in which case this data seems not to be transmitted into the API call response made in code (for example, http://export.arxiv.org/api/query?id_list=1811.10364). According to the API manual, this would appear in the form of the Considering that, this feature would either only work on entries where the DOI was provided with the API response, or JabRef could try getting this missing info from other methods (web scrapping, use of other APIs like DataCite, match against other archives, etc.) Please correct me if this was a false conclusion, as I am still not very knowledgeable at most of the codebase. |
I am not sure that I got you right. When the user provides the arXiv ID (e.g. |
What I don't get, using your example, is how you could possibly know to add the prefix |
You could possibly add the prefix And, currently, JabRef is already able to identify if a string is an arXiv ID: by simply pasting |
I think I get it now. After a quick search, I found from this article that, indeed, all arXiv articles have a DOI with the same prefix, which I never really paid attention to 😅. |
Well, I've tackled a bit of code around this functionality and I have an idea on how to implement it, so I'd like to contribute to it as my first issue on this repo. |
@thiagocferr That sounds great! If you have any questions you can ask them in your pr then |
Is your suggestion for improvement related to a problem? Please describe.
When importing the reference of a publication using its arXiv number (i.e. copy-paste of the arXiv number on the entry table):
Describe the solution you'd like
Import the reference using the DOI.
It is straightforward to get the DOI from the arXiv number: e.g. the publication with the arXiv ID
1811.10364
has the DOI10.48550/arXiv.1811.10364
. See https://arxiv.org/abs/1811.10364The text was updated successfully, but these errors were encountered: