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

Notes on what we did for Rogue Scholar integration #663

Open
maelle opened this issue Oct 13, 2023 · 2 comments
Open

Notes on what we did for Rogue Scholar integration #663

maelle opened this issue Oct 13, 2023 · 2 comments

Comments

@maelle
Copy link
Member

maelle commented Oct 13, 2023

(For a possible tech note)

With a lot of help from @mfenner,

  • Reformated our JSON index, in particular to add info about authors and about relationships (cross-posts, translations).
  • Submitted said index to Rogue Scholar
  • Added code to our layouts to find the DOI from Rogue Scholar API if there's one. If there's one it's included in the post source's head and in the sidebar with a copy-paste button. If there's not one yet, in the sidebar we use a fallback URL.
@noamross
Copy link
Contributor

I was wondering about this. So this means that the first time site is built, there's no DOI, but in subsequent builds it is able to get the DOI?

@maelle
Copy link
Member Author

maelle commented Apr 17, 2024

Yes, and we build the website once a day anyway (to make sure the events page is updated for instance) https://github.com/ropensci/roweb3/blob/main/.github/workflows/main.yml

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

No branches or pull requests

2 participants