Skip to content
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

Closed
lnielsen opened this issue Apr 30, 2014 · 6 comments
Closed

formatter: Integrate citation formatter from citationstyles.org #1416

lnielsen opened this issue Apr 30, 2014 · 6 comments

Comments

@lnielsen
Copy link
Member

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

@lnielsen lnielsen changed the title ZENODO: Integrate citation formatter from citationstyles.org formatter: Integrate citation formatter from citationstyles.org Aug 28, 2014
@lnielsen lnielsen added next and removed RFC labels Aug 28, 2014
@lnielsen lnielsen added the RFC label Sep 5, 2014
@lnielsen lnielsen added this to the v2.x milestone Sep 5, 2014
@lnielsen
Copy link
Member Author

lnielsen commented Sep 5, 2014

There should be a REST API now, to allow easy citation formatting of entries with DOIs.

@lnielsen
Copy link
Member Author

lnielsen commented Sep 6, 2014

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

@aw-bib
Copy link
Contributor

aw-bib commented Sep 10, 2014

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.)

@kaplun
Copy link
Member

kaplun commented Sep 10, 2014

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.

@jirikuncar
Copy link
Member

@lnielsen
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants