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

[BadgeReq] ORCID #10643

Closed
MrT-tak opened this issue Oct 27, 2024 · 4 comments
Closed

[BadgeReq] ORCID #10643

MrT-tak opened this issue Oct 27, 2024 · 4 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@MrT-tak
Copy link

MrT-tak commented Oct 27, 2024

📋 Description

  • Service: ORCID
  • it should show
    (logo) ORCID id | (the id)
    or
    (logo) (username) | (the id)

I've tried using static badge but the parser fails when using large text and the - doesn't work well even with double --.

🔗 Data

I don't think you need a public API but ORCID does have an API.
https://info.orcid.org/what-is-orcid/services/public-api/
this requires an account to generate an API key, similar to GitHub apps or OAuth.

🎤 Motivation

I would love to use it in my README.MD and my website.
The HTML they provide you isn't smooth and inline with other things in my readme!
They give you the following to embed:

[https://orcid.org/0009-0005-7450-170X](An ORCID logo https://orcid.org/0009-0005-7450-170X)

<a id="cy-effective-orcid-url" class="underline" href="https://orcid.org/0009-0005-7450-170X" target="orcid.widget" rel="me noopener noreferrer" style="vertical-align: top"> <img src="https://orcid.org/sites/default/files/images/orcid_16x16.png" style="width: 1em; margin-inline-start: 0.5em" alt="ORCID iD icon"/> https://orcid.org/0009-0005-7450-170X </a>

note:

ORCID id is really long! It is similar to UUIDs.
My ORCID: 0009-0005-7450-170X

@MrT-tak MrT-tak added the service-badge New or updated service badge label Oct 27, 2024
@MrT-tak
Copy link
Author

MrT-tak commented Oct 27, 2024

Also can someone add help request badge also if needed? Thanks!

@chris48s
Copy link
Member

Hello. Can you explain what you mean by

the parser fails when using large text

I see no reason this can't be done with the static badge

example:

As noted in the issue template

This issue template is for suggesting new badges which
fetch and display data from an upstream service.
If your suggestion is for a static badge
(which shows the same information every time it is requested), it is
already possible to make these.
We don't add specific routes for badges which only show static information.

@chris48s chris48s added question Support questions, usage questions, unconfirmed bugs, discussions, ideas and removed service-badge New or updated service badge labels Oct 27, 2024
@MrT-tak
Copy link
Author

MrT-tak commented Oct 27, 2024

Hello. Can you explain what you mean by

the parser fails when using large text

I see no reason this can't be done with the static badge

example:

As noted in the issue template

This issue template is for suggesting new badges which
fetch and display data from an upstream service.
If your suggestion is for a static badge
(which shows the same information every time it is requested), it is
already possible to make these.
We don't add specific routes for badges which only show static information.

Oh wow. Thanks @chris48s ! I was on the static badge generator page and it kept going to 404 https://img.shields.io/badge/0009-0005-7450-170X?logo=orcid&label=ORCID

@MrT-tak
Copy link
Author

MrT-tak commented Oct 27, 2024

I had the syntax wrong lol
@chris48s Thank you very much!

@MrT-tak MrT-tak closed this as completed Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants