I am new to WD, running version 10.37S152, but I have 15 years of experience using webtags with WUHU. One of the template files I’ve migrated to WD uses %maxtemplast24hourst% and %mintemplast24hourst%. It quickly became obvious that %maxtemplast24hourst% actually outputs the date and time for the minimum temperature, and conversely %mintemplast24hourst% outputs the date and time for the maximum temperature. The only way to get my template to work is to swap the misbehaving webtags. Is this a known issue?
What template are you running with those webtags? The WD testtags.txt file I have does not include those. The testtags min/max temp webtags I found are:
|$maxtemp = '%maxtemp%';|// today's maximum temperature
|$maxtempt = '%maxtempt%';|// time this occurred
|$mintemp = '%mintemp%';|// today's minimum temperature
|$mintempt = '%mintempt%';|// time this occurred
|$WUmaxtemp = '%WUmaxtemp%';|// Todays average max temperature from the selected Wunderground almanac station
|$WUmintemp = '%WUmintemp%';|// Todays average min temperature from the selected Wunderground almanac station
|$WUmaxtempr = '%WUmaxtempr%';|// Todays record max temperature from the selected Wunderground almanac station
|$WUmintempr = '%WUmintempr%';|// Todays record min temperature from the selected Wunderground almanac station
|$WUmaxtempryr = '%WUmaxtempryr%';|// Year that it occured
|$WUmintempryr = '%WUmintempryr%';|// year that it occured
|$maxtempyest = '%maxtempyest%';|// Yesterday's max temperature
|$maxtempyestt = '%maxtempyestt%';|// Time of yesterday's max temperature|
|$mintempyest = '%mintempyest%';|// Yesterday's min temperature|
|$mintempyestt = '%mintempyestt%';|// Time of yesterday's min temperature|
The webtags I quoted are listed in the WD manual on page 156. They work except for the fact they are reversed.
It hasn’t been reported previously on the forum. There was an issue back in 2018 where they were both set to the same value but that was fixed back then. It’s probably worth reporting this directly to Brian by email.
I had not read that far down in the WD Manual previously and was unaware there are many more tags than what’s provided in the testtags.txt file. It’s good to learn something new every day! Now I’m going to have to spend time to see if there are any tags I want to add to my site! And I agree with Chris - let Brian know about the reversal.
See tagslist.txt in your wdisplay directory.
I did as Chris suggested and emailed Brian advising him of the issue.
Brian has advised that he corrected the issue in the latest version.
And I learned something new today (or forgot that there was a taglist.txt file)!