OBOFoundry / OBO-Dashboard

Summary Dashboard for Open Biological and Biomedical Ontologies
http://dashboard.obofoundry.org/
19 stars 3 forks source link

How to add your own OBO Dashboard badge #78

Open matentzn opened 2 years ago

matentzn commented 2 years ago

We have recently developed a few badges for our ontology projects. Here is an example of how these can be used in practice in a README.md.

You can add these badges as follows. The first two badges can simply copy pasted into the README.md:

ODK:

[![Powered by the ODK](https://img.shields.io/static/v1?label=Powered%20by&message=ODK&color=blue&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAtCAYAAAA6GuKaAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAE/AAABPwBw3rtuAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAWKSURBVFiF7ZlrbBRVFMf/ty9QKC2lQIMCQo0glEDiA/BRNIGgBSURRIJoDAFMkGCIjyCp+IogMfEDTy2v1Ac+aA2+GgohRhBIG6wlImAiKijwQWhLpaGUuj8/zG64XGans+2CMfEkm8zO+Z9zfjNz995zZ6X/7aIB9wKHgSPAd8BWIPPf5go0YCOX27hk5E5pJ1BgHJAhaZKP66721HMtIWggA3hJ0hHg9gDpOEndfc7fnUi9DhswGKi1HnUT8FAcbanP0IjFpF8t4DTgtA/E38Azjm4k0BAHGmD0VYGOAn0dAFIKvA80BmhidhaYfbWgnw0B1JYdA5LyYwwLPbgtopaWFtasXs3G9Rv83MeB65PBkhZWaIw5DByRlC9JDfX1WleyVlnZ2Zo1Z7bKNm/WyRMndPp0nYhEBKi8rEyTp0yRMUaSZhpj/kgGdKLzdGXs4NPychVNnKD09HRVV1Vrf22txt93vyQJ0Np3SpSXlxcDrjbGVNqJgMeBb4CvgLFXBBoYKGlq7Pu5c83Kzc1VVlaWGhrq1bdvP/W/ob8kKUJE39fUqGDYsJj8cyfXNEmlkgolFUmqTGSsh4IGOkvaIik3di7/xnxt3LBB2yorNbSgQNVVVVq5fIVSUoxSU1L12pLXtWzpGwIk6YiT0p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Dvw+vzbV9hVb80vYwhXnVe0pSRJe2sRFJyyQtNsa0ugHGmIikg8AuScMl2YvMcUnNkjpL+rk90KEMmAz8Fb07Jwn5ahZYAKzxOT+A4H/HkmN47ybeBnonEDMT2HQluf4z9g9zJvC1+liz2QAAAABJRU5ErkJggg==)](https://github.com/INCATools/ontology-development-kit)

ROBOT:

[![Powered by the ROBOT](https://img.shields.io/static/v1?label=Powered%20by&message=ROBOT&color=green&style=flat)](http://robot.obolibrary.org/)

The other two can be copied in, but the string ONTOLOGYID needs to be replaced by your lower case ontology id, i.e cl, uberon, mp, obi, etc.

QC Badge:

<a href="http://dashboard.obofoundry.org/dashboard/ONTOLOGYID/dashboard.html"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FOBOFoundry%2Fobo-dash.github.io%2Fgh-pages%2Fdashboard%2FONTOLOGYID%2Fdashboard-qc-badge.json" /></a>

OBO Dashboard Score Badge:

<a href="http://dashboard.obofoundry.org/dashboard/ONTOLOGYID/dashboard.html"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FOBOFoundry%2Fobo-dash.github.io%2Fgh-pages%2Fdashboard%2FONTOLOGYID%2Fdashboard-score-badge.json" /></a>

At OBO Operations level, we will want to decide whether to include any of these in the obofoundry.org overview table. Feel free to add your comments here about thoughts on that.

You can see your Dashboard score in this page, in the table with the column score_dash.

http://dashboard.obofoundry.org/dashboard/analysis.html#:~:text=OBO%20Score%20(Experimental)

This issue is just about the badges. For comments on the score see #64

cthoyt commented 1 year ago

@matentzn the links in the post above seem to only correspond to the NOR dashboard

matentzn commented 1 year ago

Maybe the examples, but not the code!

<a href="http://dashboard.obofoundry.org/dashboard/ONTOLOGYID/dashboard.html"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FOBOFoundry%2Fobo-dash.github.io%2Fgh-pages%2Fdashboard%2FONTOLOGYID%2Fdashboard-qc-badge.json" /></a>

Is correct!

cthoyt commented 1 year ago

Thanks for the clarification, I must have missed some bookkeeping. You might be interested in how I used this in https://github.com/OBOFoundry/OBOFoundry.github.io/pull/2331