cloudy

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

0 Members and 2 Guests are viewing this topic.

Offline andro700

  • Chuck
  • Posts: 3,213
  • Watford City, North Dakota
    • Chuck's Weather Page
Re: Dynamic updating WAP site with CSS
« Reply #90 on: December 05, 2008, 02:22:40 PM »
I use Dreamweaver because my wife uses it to plus it is fairly easy to use I think but that is my opinion of course.

Chuck

Offline ALITTLEweird1

  • Mark
  • Posts: 3,982
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #91 on: December 05, 2008, 04:22:35 PM »
I'm clueless on tables myself too.

Though I've had a little luck using the new version of Microsoft Expression.
It's pretty .php friendly FINALLY!

Did you setup the NOAA in WD? Did you place %NOAAEvent% in your testtags folder in WD?
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,440
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #92 on: December 05, 2008, 04:29:10 PM »
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline ALITTLEweird1

  • Mark
  • Posts: 3,982
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #93 on: December 05, 2008, 04:39:36 PM »
Does your line in your testtags look like this?

Code: [Select]
$NOAAEvent = "%NOAAEvent%"; // AdvisoriesWarnings


i ask because in your testtags.php, yours looks different than mine.

Yours..
Code: [Select]

$NOAAEvent = 'NO CURRENT ADVISORIES'; // NOAA Watch/Warning/Advisory
$noaawarningraw = '
There are no active watches, warnings or advisories'; // NOAA RAW watch/warning/advisory


Mine..
Code: [Select]
$NOAAEvent = "NO CURRENT ADVISORIES"; // AdvisoriesWarnings

"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,440
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #94 on: December 05, 2008, 04:56:45 PM »
Here's whats in my tesstags.txt file

Code: [Select]
$NOAAEvent = '%NOAAEvent%'; // NOAA Watch/Warning/Advisory
$noaawarningraw = '%noaawarningraw%'; // NOAA RAW watch/warning/advisory
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline ALITTLEweird1

  • Mark
  • Posts: 3,982
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #95 on: December 05, 2008, 06:34:31 PM »
Here's whats in my tesstags.txt file

Code: [Select]
$NOAAEvent = '%NOAAEvent%'; // NOAA Watch/Warning/Advisory
$noaawarningraw = '%noaawarningraw%'; // NOAA RAW watch/warning/advisory

heres mine..

Code: [Select]

$NOAAEvent = "%NOAAEvent%"; // Advisories/Warnings


Yours is missing the " " before and after the tag
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,440
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #96 on: December 05, 2008, 06:40:47 PM »
If that was incorrect then my NOAAEvent in my testtags wouldnt work, correct?
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline ALITTLEweird1

  • Mark
  • Posts: 3,982
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #97 on: December 05, 2008, 06:52:12 PM »
If your not using that tag for anything else on your site, i would think the way Mine is should work for you. Im no php writer, but i do know there pretty picky on the coding, and if 1 thing is wrong, it wont work right.

have you tried adding the "" before and after the tag?
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,440
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #98 on: December 05, 2008, 07:13:36 PM »
i'll give that a shot when I get home. It's been a PITA trying
to connect.  My work connection is junk lately.
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Dynamic updating WAP site with CSS
« Reply #99 on: December 09, 2008, 02:31:05 AM »
Ok, got this set up and running here: http://www.tristate-weather.com/wapindex.php

How do I get rid of the extra units of measure next to some readings?

Max Temp:  52.2°F F
 at 2:12 pm 
Min Temp:  29.8°F F
 at 12:00 am 
Hi Baro:  30.180 in. mb
 at 12:00 am 
Lo Baro:  29.903 in. mb
 at 8:55 pm 
Max Dew:  25.7 °F F
 at 1:12 pm 

I know I've seen this issue answered before, but I can't find it. Thank you.
 

Offline BfdWx

  • Posts: 1,586
  • Branford Connecticut
    • Branford Weather
Re: Dynamic updating WAP site with CSS
« Reply #100 on: December 09, 2008, 02:49:45 AM »
Look at the lines with the readings, towards the end you will see the added F or mb. Just delete that and you should be all set!

Jack

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Dynamic updating WAP site with CSS
« Reply #101 on: December 09, 2008, 04:38:37 AM »
Thanks Jack. Too simple.  #-o

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,440
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #102 on: December 10, 2008, 01:26:20 PM »
Well with some help from Mark at Snoqualmie Weather  :D I've finally figured this out.

I'm using my testtags.php file. Thats not gonna conflict with anything, will it?
I'll be playing with these pages now every night LOL

http://www.cnyweather.com/wapindex.php


Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

Offline ALITTLEweird1

  • Mark
  • Posts: 3,982
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #103 on: December 10, 2008, 01:31:16 PM »
Well with some help from Mark at Snoqualmie Weather  :D I've finally figured this out.

I'm using my testtags.php file. Thats not gonna conflict with anything, will it?
I'll be playing with these pages now every night LOL

http://www.cnyweather.com/wapindex.php




No..adding more tags to your testtags will not conflict with your WAP page. Just checked your page...looks good.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline CNYWeather

  • Professional Trophymaker!
  • Posts: 1,440
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #104 on: December 10, 2008, 01:37:19 PM »
Thanks again Mark.
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

I Make Trophies Too!
http://www.speedyawards.com

 

cumulus