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

generate citation from csl record #12

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

volodymyrss
Copy link

Hello

I wanted to generate CITATION.cff from existing records, and realized that doi2cff is almost what I need. Thanks for that!
I just made a modification to generate cff fron non-zenodo links.

I hesitate to suggest this, since I suspect (from existing treatment of csl records) that you might have considered and discarded it.
Maybe a problem is that it's hard to ensure the output will be sufficiently complete.
Anyway, I found it useful to start from.

If you think this functionality could be interesting to anyone, and even at all in the right direction, I could complete the feature and test.

Best

Volodymyr

@sverhoeven
Copy link
Collaborator

Glad you like it.

The tool wants to generate valid CFF files. The release of cff version 1.2.0 made fields like version and date-released optional. This opens the door to not only generate valid CFF files from Zenodo Software record, but any DOI.

I like the approach you have taken and think there would be interest in it. Just creating the list of authors in a CFF file from any DOI is very useful to have. Also it would avoid confusion like #10

It would be great if you could complete the feature. Don't forget to update the errors and documentation.

@volodymyrss
Copy link
Author

Glad you like it.

The tool wants to generate valid CFF files. The release of cff version 1.2.0 made fields like version and date-released optional. This opens the door to not only generate valid CFF files from Zenodo Software record, but any DOI.

I like the approach you have taken and think there would be interest in it. Just creating the list of authors in a CFF file from any DOI is very useful to have. Also it would avoid confusion like #10

It would be great if you could complete the feature. Don't forget to update the errors and documentation.

Thanks for the feedback, good, to hear!
I will get to it as soon as a I have a moment.

@volodymyrss
Copy link
Author

volodymyrss commented Dec 28, 2021

I finally got a moment and finished this (I think). Please have a look whenever it's convenient if it makes sense, @sverhoeven!

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

Successfully merging this pull request may close these issues.

2 participants