Siwecos-Seal/EN

Aus Siwecos
Version vom 4. Juli 2018, 09:09 Uhr von Siwebot (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Embedding the Siwecos seal on your website == <br /> left|200px To show when the Siwecos scanners last checked your website,…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Embedding the Siwecos seal on your website


Siwecos siegel.png

To show when the Siwecos scanners last checked your website, you can embed our Siwecos seal on your website. To do this, first download the image of the seal seal.svg' and store it on your Server.


Please note that the seal can only be embedded if you have registered with Siwecos registriert!


There are two ways to embed the Siwecos seal on your website


Option 1: (seal is loaded from the Siwecos server)

The first option is intended for users who are not familiar with website editing. All you need to do is to copy the provided code into the source code of your website and to enter the name of your website ("My Website"). The drawback of this option is that the image for the seal is loaded directly from the Siwecos server. If the Siwecos server is not available, the seal will not be displayed on your website.


  • Copy the code into your source code, for example into the start page of your website.

--snip

<a href="https://siwecos.de/scanned-by-siwecos?data-siwecos=My Website"><img width="150" src="https://siwecos.de/wp-content/plugins/seal-of-trust/seal.php/My Website/d.m.y"></a>

--snap

  • Replace "My Website" in the code with your domain name (without http/https)
  • Attention: This is the part that causes the most problems for users. Please make sure that you enter the domain name exactly as you have registered it with Siwecos (Example: If www.botfrei.de was registered, then www.botfrei.de must be entered for the seal!)


Complete example:

Siegel botfrei.png







Recommendation: Embedding the seal for the Content Security Policy ("img-src 'self' siwecos.de;")


Option 2: (seal is stored locally in your own webspace)

For this option, you store a small JavaScript file locally on your webserver. The advantage is that the seal will be shown on your website even if the Siwecos server is not available. In this case, only the date of the last scan will be replaced by Standby.


Instructions:

  • "Right-click with the mouse" on seal.js and, depending on your operating system, select "Save link as" or "Save target as" (see images), and save the seal image file in a directory of your choice (for example on the desktop).
Link speichern unter |Ziel speichern unter
  • Then upload the file to your website directory on the server of your hosting provider. In this directory, there is usually a subdirectory for JavaScript (for example 'src'). Save the file "seal.js" in this subdirectory.
  • After this, the following code must be copied into the start page at the position where you want the seal to be shown:


Seal with direct link to our "certificate page".

--snip

<a href="https://siwecos.de/scanned-by-siwecos?data-siwecos=My Domain&format=d.m.y">
  <svg width="150" height="58" id="siwecos-seal"/>
  <script src="path to seal.js"></script>
</a>

--snap


Explanation for the source code:

  • width the width of the seal to be displayed.
  • height the heigth of the seal to be displayed.
  • data-siwecos the user's domain, without http / https.
  • format (optional) the desired format.
  • src the path where the JavaScript can be found, for example /src/seal.js.

Ideally, the format is defined by five characters. The recommended formats are:

  • d.m.y for the common German format.
  • y-m-d for the ISO-8601 format.
  • m/d/y for the US-American format.


For further information, please refer to our FAQ