Skip to content

Custom badge from URL content #8809

Answered by chris48s
svoop asked this question in Q&A
Jan 14, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

We've got 3 badges that can take an arbitrary url and extract a value from the content. We've got 2 that can extract a value from a JSON or yaml document using a jsonpath selector and one that can extract a value from an XML document using an xpath selector (although I'm not sure if xpath will work on a xsd schema).
We don't plan to add any additional formats, but if you could publish your version file in one of those formats you could use one of those. There is a builder for these on the front page https://shields.io/#dynamic-badge

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@svoop
Comment options

Answer selected by svoop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants