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

Downloadable record signpost images for users #1119

Open
allysonlister opened this issue Jul 6, 2021 · 4 comments
Open

Downloadable record signpost images for users #1119

allysonlister opened this issue Jul 6, 2021 · 4 comments
Assignees
Labels
medium Priority for this task is below normal question Further information is requested

Comments

@allysonlister
Copy link
Contributor

allysonlister commented Jul 6, 2021

It would be great for our users to be able to advertise the work they've done with us via a FAIRsharing “signposting” image for records. A number of different resources provide this. Some examples include:

Please could you investigate how to add a link to these "signpost" download options for any record in FAIRsharing. What are your ideas for how it would look? Where would you link to it in the record? Once you have some ideas, we can make some decisions about how it will be implemented and maybe ask for a mockup.

Thanks!

@allysonlister
Copy link
Contributor Author

I should say that in the last week, I have had two separate users during webinars and virtual conferences say how fantastic it would be to have some beautiful badges to download. And the badges could be slightly different in color or similar if the record was maintained by one or more users. They are interested in ways of attributing that they contribute to a FAIRsharing record, and such record badges could really help with this.

@knirirr knirirr added this to the Phase 8: Post-MVP milestone Oct 11, 2021
@allysonlister allysonlister added the medium Priority for this task is below normal label Nov 18, 2021
@allysonlister
Copy link
Contributor Author

Just wondering what the status is on this one, with regards to when there might be time to do it? Thanks!

@knirirr
Copy link
Contributor

knirirr commented Nov 19, 2021

I suspect it's probably best to produce an image on the fly by having pre-generated SVGs of whatever colour you like prepared and updating a text element on them to add the DOI on the client.
The next question is whether this is done on the server or with client-side javascript (e.g. https://www.petercollingridge.co.uk/tutorials/svg/interactive/javascript/). If on the server we could host the images, which we may or may not want to do. It's quite common, though; see the lines at the top of this file for icons embedded on the page:
https://raw.githubusercontent.com/FAIRsharing/FAIRsharing-API/master/README.md?token=AA3K3D6KUTTEI7BEWGBHTJ3BS7BOA
I'd have to create a server-side ticket for both the XML-modifying code (which I've never tried) and the api call to generate the image.
If generated on the client then we could not host the badges; users would have to download them and find somewhere else to host them if they wanted to embed them.

Template SVGs will have to be produced so it would depend on what else @hoseinmirian has to do.

@knirirr
Copy link
Contributor

knirirr commented Mar 16, 2022

Please see the comment here: #1435 (comment)

This may well be a request for a widget and not an image at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium Priority for this task is below normal question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants