-
Notifications
You must be signed in to change notification settings - Fork 281
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
Handling DOIs #158
Comments
@mjpost, how do you want the Anthology XML to be modified? I can probably write a script to read in the XML using python3 and write it back out again with the DOI related children in the the appropriate place. Can you point me to the proper outputting/formatting code for the XML output? I'm hoping whatever I write will retain the exact formatting of the current Anthology XML so as to not totally change lines by vacuous reformatting. |
Hi @knmnyn—we just use your
An example script for reading and writing the XML is add_attachment.py. It takes an XML file to read, and another XML file to write (they can be the same path). You can see how it iterates through the papers in the file. If you call |
This is done and documented here: https://github.com/acl-org/acl-anthology/wiki/Adding-DOIs |
We need to update the DOI process away from the Rails setup. This requires writing
The text was updated successfully, but these errors were encountered: