-
-
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
Add Cleanup for copying over physcial review article id as the page number (revtex) #7019
Comments
We need this badly....I wish I could program in java but can't. I have been suffering from this for a long time and have to do it |
Note that there is a subtlety here. The Physical Review journals changed their article numbering at the end of the 20th century. For instance: https://journals.aps.org/pra/edannounce/PRAv60i4.html Before, they had normal page numbers. They then moved to electronic article IDs. So I think it's really necessary to check if a page number already exists before executing your suggestion. |
Hello |
That would be great! (cok memnun olurum!) |
@tmrd993 go ahead, just create a PR withyour changes |
@Siedlerchr Okay, I'll probably have a PR ready by tomorrow at the earliest. I looked around and I'm not 100% sure where the article id is found for every case. For example, in the case above, it's the last number and it's seperated from the preceding string with a dot. However in this case: According to https://en.wikipedia.org/wiki/Digital_object_identifier, The DOI is composed of a prefix and a suffix like this For example, here |
@tmrd993 No need to hurry. I asked the people in the forum if they can help you answering your question. |
Yes, for APS journals (Physical Review A,B,C, etc) the id is the numerical stuff after the last dot in doi. In citation this is cited The others may be working correctly when pulled. So far the only journals I had this happen are the APS journals. |
I confirm, the article ID is the number after the last dot in the DOI. That's what should be put in the page number field. The general format of APS doi is https://doi.org/10.1103/[journal].[volume].[articleID]. As I said before, the page number should not be changed if it already exists. There were proper page numbers in APS journals before around 1998-1999. Best |
Actually I just double checked and even old articles use the number of the first page as article ID in the DOI. So if you take the number after the last dot in the DOI, it's either the first page (for old articles) or the article ID (for new articles). Nowadays, people usually only put the first page in the citation. So if you put the number after the last dot in the DOI as page number, that would be enough for most purposes. Best |
I also confirm that for all APS journals the page number is the last number after the last dot in the DOI. There is only one exception when the article is Rapid (e.g Physical Review B: Rapid Communications) then we need to add (R) after the page number which I think we will have to do it manually since it is not contained in the DOI. For example this article https://doi.org/10.1103/PhysRevB.102.081104 |
In addition to the great PR from @tmrd993 that implements this, could you (@alshehab211 @sambo57u @BenjaminDAnjou) please also contact APS and/or Crossref and notify them that the information that they provide is incorrect/incomplete. Thanks! |
@tobiasdiez That is a great idea. I will contact them regarding the issue, Thanks a lot for the effort, @Siedlerchr , @tobiasdiez , and @tmrd993 |
I would gladly contact them. But just to make sure I get this right, could you tell me exactly what I need to inform them about? What information do they not provide and more importantly where do they fail to provide it? I am not sure I understand the issue completely on a technical level, so I'd appreciate some directions. Best |
They should simply provide the article ID in the field "pages" in the bibtex data that is returned when acessing the DOI with the "application/x-bibtex" HTTP Accept header. |
I have contacted the APS about this issue two years ago. I got a response saying they are working on it as a high priority issue, but nothing happened. It is best to fix it assuming that APS will not do anything. |
I have contacted them Hopefully getting many messages will get them to think about it again. |
Thanks to @tmrd993 this is now implemented in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. Please let us know if you here something from APS or crossref. |
@Siedlerchr @tobiasdiez @tmrd993 Thanks a lot for your help! |
It is perfectly working now! Thanks again |
Background, Request from the forum:
Idea for solution: Implement a CleanUp, simliar to the DOI Cleanup: https://github.com/JabRef/jabref/blob/master/src/main/java/org/jabref/logic/cleanup/DoiCleanup.java
That should be sufficient and relatively easy to implement. Of corse otherwise the action/class has to be added to the list of possible cleanups.
The text was updated successfully, but these errors were encountered: