cloudy

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

0 Members and 2 Guests are viewing this topic.

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: Dynamic updating WAP site with CSS
« Reply #60 on: October 30, 2008, 02:06:32 PM »
Michael,

Worked great on my phone...nice job!

Regards,

Jack

Offline Zalmor

  • Posts: 550
  • Erin, NY
    • Zalmors' corner of the Web
Re: Dynamic updating WAP site with CSS
« Reply #61 on: October 30, 2008, 02:09:52 PM »
Michael,

Worked great on my phone...nice job!

Regards,
Jack
Thanks for checking, did the other pages come out OK too?
Michael A

Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, and APC

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: Dynamic updating WAP site with CSS
« Reply #62 on: October 30, 2008, 02:11:21 PM »
Quote
did the other pages come out OK too?


Yes they all worked nicely!

Jack

Offline Zalmor

  • Posts: 550
  • Erin, NY
    • Zalmors' corner of the Web
Re: Dynamic updating WAP site with CSS
« Reply #63 on: October 30, 2008, 02:12:53 PM »
Yes they all worked nicely!

Jack
Thanks again  :D
Michael A

Windows XP Pro SP3, Pentium D 2.80GHz 3GB RAM, Quickcam Pro 4000, and APC

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #64 on: November 20, 2008, 11:13:26 PM »
Can this wap script be used without using Ken's site template? Id hate to try and fight with it, if is doesnt...Thanks, Mark.
"Nature can do without man, but man cannot do without nature."

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

Online jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: Dynamic updating WAP site with CSS
« Reply #65 on: November 21, 2008, 02:08:09 PM »
Mark,

Yes it can.  I don't use Ken's site template (yet).  - Jim

 Home of NSLog NexStorm Lightning Data Manager

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #66 on: November 21, 2008, 08:57:17 PM »
Im missing somthing somewhere in the file setup or creation. At this link, you can see that is updated at 1:20..

http://www.snoqualmieweather.com/wapdata.txt

But this link is updated at 12:09..and its missing alot of data. but the wapdata.txt file has all the data, it for some reason didnt transfer the data to this link.

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

Any help would be great, and if i need to post some more info, let me know..Thanks, Mark.
"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 ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #67 on: November 21, 2008, 11:50:06 PM »
I attached a SS of my file conversions, but its still not working right.
"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 lulu836

  • Linda
  • Posts: 2,232
  • Louisiana
    • Luv Retirement
Re: Dynamic updating WAP site with CSS
« Reply #68 on: November 22, 2008, 12:59:25 AM »
Mark.........why did you put it in the second available spot?  I don't know that has anything to do with why its not working........just curious.


Offline Weather Display

  • Posts: 64,521
Re: Dynamic updating WAP site with CSS
« Reply #69 on: November 22, 2008, 01:42:41 AM »
yes, fill in the top 2 spots first
then make sure the custom switch is on, and then set times to do the special file conversion and also make sure the local file you have set actualy exists in the web files location you have set

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #70 on: November 22, 2008, 02:21:49 AM »
Thanks all...i moved both of them files up to the top for uploads. Then in the special file conversion I put to create wapdata.txt, set the upload and create times but still doesnt work. It shows it uploading, but doesnt update that file. In my webfiles I have both wapdata.php and wapdata.txt...i know im missing somthing minor, just cant find it.
"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 ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #71 on: November 22, 2008, 09:07:13 PM »
First prob...
Im still fighting with the wapdata.txt file to update. It creates it and uploads it, but the data in the file is from the 21st. Ive deleted all the files and started over. When WD creates the wapdata.txt file, its still showing data from the 21st, not sure where its picking that data up from.


2nd Prob..
In my wapcommon.php file I have this put in to where to get the data for the index file..

//$wdtg    = get_raw("http://www.snoqualmieweather.com/wapdata.txt","|");

http://www.snoqualmieweather.com/wapdata.txt

But when you look at this.. http://www.snoqualmieweather.com/wapindex.php

Its not getting updated from the common file even though its out of date, it should still match.

Im pretty sure I have WD setup right to create and upload the .txt file, but not 100% sure on that.

Any help would be great, Thanks, Mark.

"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 ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Dynamic updating WAP site with CSS
« Reply #72 on: November 23, 2008, 06:23:15 PM »
I got my wap site up and going, hopefully it looks allright on a cell..

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

Thanks for the help lastnight Ken with my testtags. I had to really modify that file so everything on my wap page is updated with everything.
"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,429
  • Rome, New York
    • CNYWeather.com
Re: Dynamic updating WAP site with CSS
« Reply #73 on: December 02, 2008, 02:26:54 PM »
Can a wap page be setup using AJAX too?

Before I try just wondering. Ordering a Storm a wanna
make a new wap page.
Tony

CNYWeather.com
CWOP: CW2352
WeatherUnderground: KNYWESTM1


http://www.CNYWeather.com

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

Online jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: Dynamic updating WAP site with CSS
« Reply #74 on: December 02, 2008, 03:50:25 PM »
Not to my knowledge, the browser in the phone would have to be javascript capable and I know mine isn't.  I'm sure there are others here who know a lot more about the various phones.

- Jim

 Home of NSLog NexStorm Lightning Data Manager

 

cumulus