View wetter.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: blue; icon-glyph: sun; | |
// Check weewx Weather | |
// Script Updates: https://gist.github.com/mountbatt/163c5d8f8bd7978e1f3c06b3dcccf00f | |
// Version: 0.7.4 | |
// edit: | |
let endpoint = "http://www.waldbadviertel-wetter.de/current_minimal.json" | |
let prefix = "im" // im | in | at ... defines "im Waldbadviertel" oder "in Cologne" (set to "in" or "at" for good english) |
View inline-portrait.svg.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- this is our svg in /images/inline-portrait.svg.php. Make sure the filename ends with *.svg.php --> | |
<!-- in the "pattern" we create a unique identifier with a sanitized url of the image --> | |
<!-- this "id" is used as "fill" --> | |
<svg aria-label="<?php the_title(); ?>" role="img" viewBox="0 0 256 257" version="1.1" class=""> | |
<title><?php the_title(); ?></title> | |
<defs> | |
<pattern id="imageID-<?php echo trim(preg_replace('/[^a-z0-9]+/i',"", strtolower(htmlspecialchars_decode($url)))); ?>" width="100%" height="100%" patternUnits="userSpaceOnUse"> | |
<image height="100%" width="100%" x="0" xlink:href="<?php echo $url;?>" y="0"></image> | |
</pattern> |
View ZOE-Widget.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Das Widget ist auf Grund von Beschwerden von Renault vorrübergehend entfernt */ | |
/* Le widget a été temporairement supprimé suite à une plainte de Renault. */ | |
/* The widget is temporarily removed due to complaints from Renault */ |