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
Ability to format Citation #567
Comments
@rushirajnenuji I thought that you were working on this ability to format citations using CSL formatting styles. Is there another ticket that is tracking its progress? |
@csjx Found that we already logged this issue that we discuss in our tech meeting. To capture what we said in our tech meeting:
|
Adding an example from the ADC that also needs this citation formatting feature: We want to update our record with the DOI from EOL as the series id. EOL still has authority over this dataset but we have a copy at ADC.
There is currently a difference in the ‘Publisher’ listed between the EOL and Arctic Data Center citations? We want to ensure that our copy of the metadata produces a citation string that is compatible with what is produced by the DOI. |
@vchendrix - You said you'd like "the ability to change the citation format without overriding CitationView.render()" - I agree that we should build a better way to configure this. Do you have any thoughts as to how the citation format should ideally be specified? |
If we're going to go down the flexible citation rendering approach, I think CSL makes most sense. @rushirajnenuji worked on that for a bit, and there are some existing javascript libraries that handle it. We haven't touched on this in a while, but discussed this approach in #973 |
@robyngit - I haven't thought too deeploy about it but I was thinking some kind of templating approach with the ability to map different fields to the citation parts. @mbjones what is CSL? |
CSL is Citation Style Language, the industry standard for flexibly formatting citations, and in use by all major bibliographic software. Details in the issue I linked. |
For the ESS-DIVE project we have overridden the citation view to use the following datacite format
Creators (PublicationYear): Title. Publisher. Identifier
We modified the metcat ui in the following way to achieve this.
CitationView.render()
- This allowed us to format the citation as specified by ESS-DIVE.project
solr field to search results -publisher
EML entity is not indexed by metacat and thus was not available via a Solr query. We decided to use the project as the publisher since that field was index by Metacat in Solr. This change required us to override the following functions to addproject
to the search results.SolrResult.getCitationView()
SolrResult.getInfo
DataCatalogView.getResults()
This issue might result in two enhancements.
CitationView.render()
The text was updated successfully, but these errors were encountered: