citation-file-format / doi2cff

Generate a CFF file using the metadata from a software release on Zenodo.
Apache License 2.0
22 stars 4 forks source link

generate citation from csl record #12

Open volodymyrss opened 3 years ago

volodymyrss commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 2 years ago

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