academicpages / academicpages.github.io

Github Pages template for academic personal websites, forked from mmistakes/minimal-mistakes
https://academicpages.github.io
MIT License
12.43k stars 43.9k forks source link

Auto-generate publication list using ORCID & DOIs #1093

Open DanNBullock opened 1 year ago

DanNBullock commented 1 year ago

Chris Holdgraf (not tagged here, due to likely already being spammed via GitHub interfaces) recently made a blog post about using ORCID API tools and doi.org to auto-generate publication lists using ORCIDs. I believe he is using python to achieve this, but perhaps there are other approaches to achieving this same outcome.

There is an issue thread from 2017 (indeed, issue #2), that seems somewhat stale, with minimal discussion / updates on the main branch (though there are various references on personal forks).

One potential challenge for this is that the ORCID API appears to require registration / credential authentication, which may prevent this approach from scaling well / easily.

rjzupkoii commented 9 months ago

Not sure if this can be done, but it's at least something we can take a closer look at.

c-martinez commented 1 month ago

I'm pretty sure it is possible to retrieve citations from orcid API, would it be useful if I write a short script for this and submit a PR?

rjzupkoii commented 1 month ago

@c-martinez Yes, that would be very helpful and I'm always open to PRs that improve the template. Something to keep in mind is that depending on when this is done as part of the workflow, you may be running in a container which can put some pretty significant limits on what tools / libraries are available and can be used. However, if you are looking at it from the perspective of generating all of the *.md files in _publications that might be much simpler and I would suggest putting the script that you use for that in a scripts directory so that we can make sure that it doesn't get deployed as part of a users website.

c-martinez commented 1 month ago

Great, good to know!

Fetching data from orcid API turned out to be fairly straight forward and we can generate a *.bib file with all the orcid entries. I'm guess *.md files could be generated by the existing scripts.