Trixology

WeatherCat => WeatherCat Web Templates => Topic started by: Toremann on May 05, 2013, 11:37:33 AM

Title: Statistic on custom website
Post by: Toremann on May 05, 2013, 11:37:33 AM
Hello all

I am a novice in html

Could anyone give me a short example how to put statistic to a html site from weathercat

i would like to have last week statistic, last moth and laste year, and if possible records, i have seen that cumulus is able to do this

I hope someone could could help me out as I am "green"  [freeze] into this

Have a great day

Best Regards
Tore
Title: Re: Statistic on custom website
Post by: Randall75 on May 05, 2013, 12:26:05 PM
Hi Tore
 On Page 164 of the WeatherCat manual gives you WeatherCat Web-Tags you need to this you will also need a program like Sea Monkey to the html but I have mine like this
you can see mine @ weatheronthehill.6te.net
Hope this helps
cheers
[cheers1]
Title: Re: Statistic on custom website
Post by: Toremann on May 05, 2013, 12:35:23 PM
Hello sir

Your site looks good

Could you help me with the html code you have used, as its typed in it would be most helpfully to me as am not good in html programming

I guess you are updating this site via additional files in weathercat?

cheers

Tore
Title: Re: Statistic on custom website
Post by: Randall75 on May 05, 2013, 01:45:26 PM
Toreman
 Down load SeaMonkey it will do most of the work for for putting it into html for each daily weekly monthly you will need to save each one as a html code here it is for daily maybe this you give you and idea for you Open SeaMonkey then the composer put the info into it and save it as daily html you need to do this for each one
It takes time I spent days with not weeks to get mine that I was Happy with
   
Highest temperature today = STAT$TEMPERATURE:MAX:TODAY$TEMPUNITS$ at STAT$TEMPERATURE:MAX:TODAY:TIME$
Lowest temperature today = STAT$TEMPERATURE:MIN:TODAY$ TEMPUNITS$ at STAT$TEMPERATURE:MIN:TODAY:TIME$
Highest dewpoint today = STAT$DEWPOINT:MAX:TODAY$ TEMPUNITS$ at STAT$DEWPOINT:MAX:TODAY:TIME$
Lowest dewpoint today = STAT$DEWPOINT:MIN:TODAY$ TEMPUNITS$ at STAT$DEWPOINT:MIN:TODAY:TIME$
Highest external humidity today = STAT$EXTHUMIDITY:MAX:TODAY$ % at STAT$EXTHUMIDITY:MAX:TODAY:TIME$
Lowest external humidity today = STAT$EXTHUMIDITY:MIN:TODAY$ % at STAT$EXTHUMIDITY:MIN:TODAY:TIME$
Highest heat index today = STAT$HEATINDEX:MAX:TODAY$ TEMPUNITS$ at STAT$HEATINDEX:MAX:TODAY:TIME$
Lowest wind chill today = STAT$WINDCHILL:MIN:TODAY$ TEMPUNITS$ at STAT$WINDCHILL:MIN:TODAY:TIME$
Highest pressure today = STAT$PRESSURE:MAX:TODAY$ PRESSUREUNITS$ at STAT$PRESSURE:MAX:TODAY:TIME$
Lowest pressure today = STAT$PRESSURE:MIN:TODAY$ PRESSUREUNITS$ at STAT$PRESSURE:MIN:TODAY:TIME$
Highest wind speed today = STAT$WINDSPEED:MAX:TODAY$ WINDSPEEDUNITS$ at STAT$WINDSPEED:MAX:YESTERDAY:TIME$
Wind run today: STAT$WINDRUN:TOTAL:TODAY$ WINDRUNUNITS$
Average wind direction today = STAT$WINDDIRECTION:AVERAGE:TODAY$ degrees
Highest rain rate today = STAT$RAIN:MAX:TODAY$ RAINUNITS$/h at STAT$RAIN:MAX:TODAY:TIME$                
Rain Total today = STAT$RAIN:TOTAL:TODAY$ RAINUNITS$ 
[cheers1]              

 
Title: Re: Statistic on custom website
Post by: Toremann on May 05, 2013, 05:03:40 PM
Thank you Randall75

I am sure this will help me

Have a great day

Cheers  [cheers1]
Title: Re: Statistic on custom website
Post by: Toremann on May 08, 2013, 01:39:12 PM
Hello Everyone

Could anyone tell me where to put "at" in this: STAT$RAIN:MAX:THISWEEK$ RAINUNITS$/h STAT$RAIN:MAX:THISWEEK:TIME$ to get:

1,5 mm/h  7 May 2013 at 18:57

Best regards
Tore
Title: Re: Statistic on custom website
Post by: jace on May 08, 2013, 03:01:12 PM
Toremann

I would try between RAINUNITS$/h  and    STAT$RAIN going by Randall's examples.

JC

Title: Re: Statistic on custom website
Post by: Toremann on May 08, 2013, 04:33:46 PM
Quote

I would try between RAINUNITS$/h  and    STAT$RAIN going by Randall's examples.

JC
**************************************************
No its not seems to be correct, what i get out then is:

1,5 mm/h at 7 May 2013 18:56,  i would prefer to get: 1,5 mm/h 7 May 2013 at 18:56

Cheers
Tore
Title: Re: Statistic on custom website
Post by: Randall75 on May 08, 2013, 08:26:49 PM
Hi Toremann
You can try to put it before TIME$(@TIMES) or (at TIMES)
but I don't think you can but give it a try
  ] [cheers1]