http://kocher.es/cumulusMX/FWI/pwsFWIcurrent.txt
I mean a way to see the information of form; to change when the text of that URL changes.
I have thought about PHP or javascript, but I think that today I have a broken head ...

Moderator: HansR
Code: Select all
<?php include('FWI/pwsFWIcurrent.txt'); ?>
Code: Select all
<div><a href="myfireindex.php" style="text-decoration: none">Current FWI <?php include('FWI/pwsFWIcurrent.txt'); ?></a></div>
Code: Select all
<div align="center">
<a title="Riesgo de Incendio actual (FWI) Rango: 0 - 630" href="./cumulusMX/FWI">
<?php
$fwi = file_get_contents('./cumulusMX/FWI/pwsFWIcurrent.txt');
echo $fwi;
?>
</a>
</div>
Greetings to allHansR wrote: ↑Fri 07 Aug 2020 5:46 amHi Javier, @Beteljuice,
The way Beteljuice proposes is the way I intended (and described) it to be used.
But the way you actually did it, apparently works also very good so:and thanks to Beteljuice as well
Is there a reason you did not use Beteljuices proposal? I'll mention your method in the manual btw, other may prefer that as well.
It is understoodAnd btw: you give the range of the scale as 0 - 630. But 630 is actually the start of the red warning level. The range of the scale of pwsFWI is 800 for the five point scale (red) and 1000 for the six point scale (purple) but these values are arbitrary as the scale is 'open ended'. If the calculated value is higher than the maximum value of the scale the pointer remains at the end. In that sense, the indicator is without upper limit (as it is intended).
Regards, Hans
OK, no further analysis, it works and that is good
I understand, I just keep telling so that it gets between the ears everywhere
True for the Basque country which is blessed being the greenest part of Spain (meaning lots of rain
I understand what you are saying. What I can't do - that would be really a lot of work and coding - is to make minimised real-time versions of the key-bar.kocher wrote: ↑Fri 07 Aug 2020 7:45 amI was thinking of inserting a small rectangle with small colored stripes below the FWI icon.
It would be great to be able to include the color bar of your own app (in a small size) under the FWI: for this, it might be interesting to have several sizes to be able to use the FWI icon; in this way, this icon would not be so easily lost on the page. For example:
My... , did not work for me
Code: Select all
<div><a href="myfireindex.php" style="text-decoration: none">Current FWI <?php include('FWI/pwsFWIcurrent.txt'); ?></a></div>
Although it may seem incredible to you, there is no acronym for fire risk; in fact, the State Meteorological Agency does not use any:But I am sure there is a Spanish equivalent of the acronym because Wildfires are a plague elsewhere in your country and there is a great tradition of study of wildfires
I agree, but I will try to do somethingbeteljuice wrote: ↑Fri 07 Aug 2020 10:47 pmThe problem is presentation ...
There is no (European) common symbol or graphic that immediately conveys Fire warning.
If you just show a coloured scale without explanation, especially vertically, it will interpreted as a thermometer with strange values !
Indeed surprising. However, I suggest you introduce it (or ask first at e.g. mr Cardil for a good suggestion, no doubt he is accessible).