Tree representation, shell scripte are lower caps and have a “-”.
Data files have a different ending as .sh
.png und .jpg files are images.
index.html und style.css belong RSS Aggregator not being discussed here. I show the iframe code at the end, though.
/root/bin/WeatherWidget/
βββ temp-curve.sh ...creates TEMPCURVE_PNG
βββ weather-api.sh ...fetches J_SOURCE and calls weather-content.sh
βββ weather-content.sh ...creates weather-content.html and calls temp_curve.sh
βββ weatherpix-act.sh
βββ weatherpix-sat.sh
βββ WeatherWidget.rc ...sourced by scripts above - you may edit this file
βββ WeatherWidgetStructure.txt ...this file
/var/www/html/
βββ DATA
βΒ Β βββ curve.data ...dynamical created data file for gnuplot
βΒ Β βββ gnuplot.rc ...gnuplot commands file
βΒ Β βββ wolfenbuettel.json ...occasional fetched OpenweatherMap api json file
βββ IMG
βΒ Β βββ curve.png ...dynamical created temperature curve
βΒ Β βββ njob_satrad.png ...occasional fetched satellite map picture
βΒ Β βββ rad_nib_akt.jpg ...occasional fetched radar map picture
βΒ Β βββ wx_brd_akt.jpg ...occasional fetched weather map picture
βββ index.html ...loads weather-content.html via iframe
βββ style.css ...used by index.html
βββ w3.css ...used by weather-content.html, collected from w3c-school
βββ weather-content.html ...occasional created Weather-Widget HTML file
iframe-htmlcode
<html>
<!-- deleted html lines -->
<head>
<!-- deleted head lines -->
<style>
img
{
padding: 50px 20px 50px;
}
</style>
</head>
<body>
<!-- deleted body lines -->
<h3>
<a href="IMG/wx_brd_akt.jpg">
<img src="IMG/wx_brd_akt.jpg" width=300 height=278 class="padding" title="Aktuelles Wetter Deutschland"></a>
<a href="IMG/njob_satrad.png">
<img src="IMG/njob_satrad.png" width=300 height=300 class="padding" title="Niederschlag-Radar Deutschland"></a>
<a href="IMG/rad_nib_akt.jpg"><img src="IMG/rad_nib_akt.jpg" width=300 height=278 class="padding" title="Infrared Niedersachsen"></a>
</h3>
<iframe src="weather-content.html" name="WEATHER_in_a_box" style="width: 100%; height: 480px; border: 0px;">
<p>Ihr Browser kann leider keine eingebetteten Frames anzeigen:
Sie können die eingebettete Seite über den folgenden Verweis aufrufen:
<a href="http://localhost/weather-content.html">Wetter Wolfenbüttel</a>
</p>
</iframe>
<!-- deleted body lines -->
</body>
</html>
Scripts are on the following sites!