Page 1 of 1

New webtag?

Posted: Wed 10 Feb 2010 12:20 am
by rp4111
Would it be possible to have a webtag that would display a "High and Low" for the month?

IE: High Temp Today, Yesterday, Month, Year.

Would be a nice addition but how hard would it be? Thanks!

Re: New webtag?

Posted: Wed 10 Feb 2010 4:17 am
by gemini06720
rp4111 wrote:Would it be possible to have a webtag that would display a "High and Low" for the month?
IE: High Temp Today, Yesterday, Month, Year.
Ryan, if I understood correctly what you are requesting, there are already tags available:

<#tempTH> Today's highest temperature
<#tempTL> Today's lowest temperature
<#tempYH> Yesterday's highest temperature
<#tempYL> Yesterday's lowest temperature

Please check the Wiki at http://wiki.sandaysoft.com/a/Webtags for additional information.

But, indeed, there are no tags for monthly and yearly information except for the rain...

Re: New webtag?

Posted: Wed 10 Feb 2010 8:03 am
by rp4111
Ray,
Thanks. I was just using Today and Yesterday as an example.

Re: New webtag?

Posted: Wed 10 Feb 2010 8:30 am
by steve
The reason there aren't web tags for monthly and annual highs and lows is that Cumulus doesn't currently have that information 'to hand'. It would have to trawl the dayfile.txt each time the tag was processed to find the values. So it wouldn't be too hard to write the code to do that, but it would be better done some other way.

Re: New webtag?

Posted: Thu 11 Feb 2010 10:12 pm
by rp4111
Thanks for clarifying, Steve.