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

Publications: Use component and require only a DOI #2729

Open
ewels opened this issue Sep 20, 2024 · 1 comment
Open

Publications: Use component and require only a DOI #2729

ewels opened this issue Sep 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ewels
Copy link
Member

ewels commented Sep 20, 2024

The publications page currently uses markdown which is fine, but a bit verbose and a hassle to add publications to.

We should be able to retrieve all of the information that we need from a DOI alone, using crossref. We could have a new component that takes DOI as an argument and then updates a JSON cache if needed and renders everything else.

Could even just make it a python script that writes to a JSON file and then render the entire page automatically. Not sure we really need much / any markdown on this page.

I wrote something similar for my soon-to-be-published-honest-any-day-now personal website here.

@ewels ewels added the enhancement New feature or request label Sep 20, 2024
@mashehu
Copy link
Contributor

mashehu commented Sep 30, 2024

should be even better with Astro 5's content layers

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

No branches or pull requests

2 participants