cloudy

Author Topic: Dynamic updating WAP site with CSS  (Read 30641 times)

0 Members and 1 Guest are viewing this topic.

Offline dimpap

  • Posts: 45
  • Karditsa
    • Weather station from Karditsa
Re: Dynamic updating WAP site with CSS
« Reply #180 on: November 27, 2009, 06:38:19 PM »
Thanks for the reply.

In that pricey wxlocal29.htm make the change to be in Metric and not USA?

Quote
|%date%
|%time%
|%tempinusa%
|%dewinusa%
|%hum%
|%humchangelasthour%
|%avgspd%
|%dirlabel%
|%maxgustlastimediate10%
|%baroinusa2dp%
|%currentpressureinmb%
|%wetbulb%
|%heati%
|%humidexfaren%
|%windch%
|%feelslike%
|%dayrnusa%
|%timeoflastrain%
|%maxrain/minlasthour%
|%ystdyrainusa%
|%monthrn%
|%yearrn%
|%VPuv%
|%currentsolarpercent%
|%VPsolar%
|%sunrise%
|%sunset%
|%hoursofpossibledaylight%
|%changeinday%
|%sunshinehourstodateday%
|%sunshinehourstodatemonth%
|%currentwdet%
|%VPetmonth%
|%hightempinusa%
|%maxtempt%
|%lowtempinusa%
|%mintempt%
|%highbaro%
|%highbarot%
|%lowbaro%
|%lowbarot%
|%maxdew%
|%maxdewt%
|%mindew%
|%mindewt%
|%maxdailygustinmph%
|%moonrise%
|%moonset%
|%moonphase%
|%moonphasename%
|%indoortemp%
|%indoorhum%
|%vpconsolebattery%
|%vpreception2%
|%temp0minuteago%
|%temp15minuteago%
|%dew0minuteago%
|%dew15minuteago%
|%hum0minuteago%
|%hum15minuteago%
|%baro0minuteago%
|%baro15minuteago%
|%VPsolar0minuteago%
|%VPsolar15minuteago%
|%VPuv0minuteago%
|%VPuv15minuteago%
|%rain0minuteago%
|%rain15minuteago%
|%iconnumber%
|%moonage%
|%lighteningcountlasthournextstorm%
|%lighteningcountlastminutenextstorm%
|%lighteningcountlast5minutes%
|%lighteningcountlast12hournextstorm%
|%lighteningcountlast30minutesnextstorm%
|%lighteningcountlasttime%
|%lighteningcountmonth%
|%lighteningcountyear%
|%nexstormbearing%
|%nexstormdistance%
|%date-year%
|%monthname%
|%NOAAEvent%
|%noaawarningraw%

Offline jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: Dynamic updating WAP site with CSS
« Reply #181 on: November 27, 2009, 07:09:47 PM »
In the folder where you have WD installed you'll find a file named taglist.txt that contains all the tags that WD can provide.  You'll just have to find the ones that provide what you'd like to see and replace with those.  %tempinusa% would be one of those, but there are several others that you'd like to change.

- Jim

 Home of NSLog NexStorm Lightning Data Manager

Offline edhall

  • Posts: 460
  • Fulton, MO
    • Ed's Weather
Re: Dynamic updating WAP site with CSS
« Reply #182 on: December 05, 2009, 07:26:32 PM »
I'm trying to get the graphs to work. The Sparkline files are located in /WDS

My clientraw files are are located in /weather

the www.eds-weather.info/wapindex.php

The graphs that are showing are from Jim's site.

Thanks,

Ed

Offline jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: Dynamic updating WAP site with CSS
« Reply #183 on: December 05, 2009, 09:34:47 PM »
Ed,

It's been a long time since I worked with those graphs, but I suspect it's a path problem to your clientraw files.  If I remember right, Kevin had some nice documentation for those graphs.

- Jim

 Home of NSLog NexStorm Lightning Data Manager

Offline edhall

  • Posts: 460
  • Fulton, MO
    • Ed's Weather
Re: Dynamic updating WAP site with CSS
« Reply #184 on: December 05, 2009, 09:45:03 PM »
Jim,

Thanks.

Ed

Offline TNETWeather

  • Kevin Reed (KrelvinAZ)
  • Global Moderator
  • Posts: 5,859
  • Gremlins are at work...
  • Mesa, AZ
    • TNET Weather Station - Mesa AZ
Re: Dynamic updating WAP site with CSS
« Reply #185 on: December 05, 2009, 09:59:25 PM »
I don't even remember how they work since nobody ever asks questions about them due to the documentation.

If you still can't get them to work, send me a PM.

All you need is Time, Aptitude and Desire ... and you can build just about anything...

Offline drobbins

  • Posts: 1,596
  • Kentucky, USA
    • Cave Country Weather
Re: Dynamic updating WAP site with CSS
« Reply #186 on: July 17, 2010, 03:19:16 PM »
I am just now trying to get these pages to work. I have run into a snag with the sparkline graphs. I am getting an 003 error message.
http://www.cavecountryweather.com/wapgraphics.php
Now the same graphs have been working on another page
http://www.cavecountryweather.com/trends.php

The code in the WAP page is
Quote
echo '<img alt="Temp" src="http://cavecountryweather.com/WDS/wdsparkline.php?chart=temp&amp; unit=fdeg' . $randy . '" class="sparkline" /><br/>';lf();
If the "unit=fdeg" is removed the graph works fine, but is in "C" instead of"F". How to correct it?


FIXED:
I deleted the "unit=fdeg".
Then went into the wdsparkline.php and put the "fdeg" first in the array so it is the default. Repeated this for all the charts.
« Last Edit: July 17, 2010, 04:53:39 PM by drobbins »

Offline vossen

  • Posts: 218
  • Mauritius
    • Mauritius weather
Re: Dynamic updating WAP site with CSS
« Reply #187 on: November 13, 2010, 10:01:01 AM »
This looks really good!
i just found W3C mobileOK Checker  http://validator.w3.org/mobile/check?docAddr=http%3A%2F%2Fwap.jcweather.us%2F&async=true
could this help to remove the 2 small errors?
regards
stefan

 

cumulus