dgarijo / Widoco

Wizard for documenting ontologies. WIDOCO is a step by step generator of HTML templates with the documentation of your ontology. It uses the LODE environment to create part of the template.
Apache License 2.0
287 stars 88 forks source link

Provide badges as a part of jar file #712

Open larisa1995 opened 3 months ago

larisa1995 commented 3 months ago

Description of our problem: index-en.html has badges for serialisation and license. German law forbids us to forward the dynamic IP address to third parties [1 ,2].

Current behaviour: Badges are loaded dynamically from img.shields.io [3].

Proposed solution: Put shields to the folder of Widoco so that they are part of package.

[1] https://www.ihk.de/nordwestfalen/recht/rechtsthemen/wettbewerbsrecht/websiten-auf-google-fonts-ueberpruefen-5645256 [2] https://www.gesetze-bayern.de/Content/Document/Y-300-Z-BECKRS-B-2022-N-612?hl=true [3] https://github.com/dgarijo/Widoco/blob/master/src/main/java/widoco/Constants.java

dgarijo commented 3 months ago

Hmm, there are numerous badges that may be imported (the badge is generated dynamically). So option 3 is not easy to implement.

In the config you can add your own icons for licenses (https://github.com/dgarijo/Widoco/blob/master/doc/configurationSamples/config/config.properties).

Alternatively, Widoco could download all images and store them locally. Maybe that could be an option

larisa1995 commented 1 month ago

Alternatively, Widoco could download all images and store them locally. Maybe that could be an option

This option fits the requirements of our company! Could possibly next version have this feature?