Idea: f-droid badge
There are many badges available on shields.io. I would like to see the latest published f-droid version of the app in there as a shield.
Possible implementations
- the f-droid server has an API which gives information about a build app e.g. as JSON
- the website of the app has this information available e.g. with XML idetifiers
- the f-droid server or website creates badges itself
Evaluation:
- this is the official way to build the badges from shields.io: one json request which can be eveuated
- this may be a good alternative if no API is given: something that is embedded in the website like by
https://schema.org
Currently, we can see this:
<div class="package-version-header"> <a name="1.0"></a> <a name="1"></a> <b>Version 1.0</b> (1) - Added on 2018-08-20 </div>
<div class="package-version-header" itemscope itemtype="https://schema.org/MobileApplication"> <a name="1.0"></a> <a name="1"></a> <b>Version <span itemprop="softwareVersion">1.0</span></b> (1) - Added on 2018-08-20 </div>
license
,dateCreated
,dateModified
,datePublished
, ... which can be added once someone needs it. - This may not be useful so much in case the badges are generated statically. Almost no app uses them so packaging them is a waste of space. Evaluation: about 385 Bytes/shield x 2000 is about 800kb unneeded svg
What would be the preferred way to go about this? Is solution (1) desirable?