Closed nuest closed 1 week ago
Should this URL also be used for the link behind the badge? The DOI is certainly more sustainable.
@nuest can you specify how you want to display the multi-page JPEG? The idea I had was having buttons to navigate through the different jpeg images of the certificate. This is the html I created so far. Can you let me know what you and @sje30 think?
Additionally could you specify the following:
this looks very cool.
Couple of points in my mind:
Thanks for the nice mockups!
Re. placement: Looks fine! I think we could, below the abstract, also show the codecheck summary, which we have in the codecheck.yml file. That would give us some nice indexing in search engines, I hope.
Re. full citation: I would put that at the top, because it also takes care of showing the certificate authors. Not sure if #82 would be overkill now or actually easier than coming up with a full citation ourselves.
One more thing re. Stephens comment on switching to Quarto: In that case it might be good now to integrate the preview based on an HTML file that is stored somewhere. For now, the HTML will just show the first page of the PDF as a preview, and later we can simply store the Quarto output in the HTML file (I generously use the term "simple" here ;-) ).
Zenodo has a rate limit, see https://developers.zenodo.org/#update-schedule
Therefor, let's limit our requests to Zenodo to one per second.
There was a discussion in #23 about the URL and we agreed on the following format:
codecheck.org.uk/register/certs/2020-001
This puts certs on the same level as other resources, e.g., venues, checkers.
@nuest I noticed that there is variation in the codecheck repo file structures on zenodo. So for some of the zenodo repo there are two files: the codecheck.pdf and a zip folder while for other zenodo repos we have just a zip folder.
As a result the function to retrieve the certificate pdf now downloads the zip folder if there exists no codecheck.pdf file outside the folder and then looks for the pdf file inside this folder.
Should I leave the code as such for now? And will there be changes in the future on the zenodo repos to create consistency in the file structures for all codecheck certs?
The reason for these two variants: sometimes codecheckers use the GitHub-Zenodo-Integration to deposit the whole repository, with the PDF in it, and sometimes codecheckers render a PDF locally and upload only that to Zenodo, possibly with additional material (like a zip file of the repo) next to it. I prefer to keep it this flexible and leave room for the codecheckers to choose what makes most sense for the check at hand.
Therefore: I think we need a little bit of flexibility on the side of the register here.
However, I'm actually not really keen on storing copies of all the PDFs in the register... would you say it's feasible to embed PDFs only where there is one directly accessible via URL, e.g. in https://zenodo.org/api/records/13364677 one can use https://zenodo.org/api/records/13364677/files/codecheck.pdf/content and in other cases (i.e., where there is a ZIP file) just show a "no preview available, please visit http://zenodo...." ?
Work in progress at https://github.com/codecheckers/codecheck/pull/71
This is then base for an "overlay journal" kind of website, see codecheckers/discussion#29.
New pages needed:
https://codecheck.org.uk/certificate/2020-001 or https://codecheck.org.uk/register/2020-001 or https://cdchck.org/cert/2020-001
convert
)Would probably also solve codecheckers/register#23.
Layout
Somewhere between ReScience C and JOSS: