-
Notifications
You must be signed in to change notification settings - Fork 290
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
formatter: Integrate citation formatter from citationstyles.org #1416
Comments
There should be a REST API now, to allow easy citation formatting of entries with DOIs. |
Here's an example of the REST API: $ curl "http://crosscite.org/citeproc/format?doi=10.5281%2Fzenodo.11082&style=apa&lang=en-US"
Nielsen, Lars Holm. (2014). ZENODO: A New Innovative Service for Sharing All Research Outputs. ZENODO. doi:10.5281/zenodo.11082 |
Just to note to be a bit careful here. Note that the metadata are taken from CrossRef/DataCite/Medra and friends. They may very well not reflect what users see in the repo, especially if it is an external doi. Also note that e.g. 10.1103/PhysRevB.90.115104 gives quite a broken thing due to unproper handling of mathml. (Besides, their bibtex output is really some of the worst I ever saw.) |
Alternatively, as Lars mentioned in the original ticket, one can directly locally deploy the source code of the service, and pass all the metadata information from what is in Invenio. |
@lnielsen is it already implemented in https://github.com/zenodo/zenodo/tree/3e4f89a0f1236b330d2665ccb2b141d2ff68e0a5/zenodo/modules/citationformatter ? Shall me move it to Invenio? |
The Zenodo citation formatter relies on a DOI, so I don't think it's appropriate to integrate in Invenio (first it doesn't rely on loca metadata, second not all records have DOIs). If anybody needs it at somepoint, we can externalize the Zenodo implementation in its own package. I'll close the issue. |
Originally on 2013-03-20
http://crosscite.org/citeproc/ provides a DOI citation formatter with tons of citation styles. Unfortunately the it's not possible to just send a GET request with DOI to the URL, due to some AJAX loading.
The code behind the citation formatter is openly available as well as the citation styles at:
https://github.com/crosscite/citeproc-doi-server
https://bitbucket.org/fbennett/citeproc-js/
http://citationstyles.org/
https://github.com/citation-style-language/styles
The text was updated successfully, but these errors were encountered: