PDA

View Full Version : Possible to change Ugly Weather Channel script?



Solidus
February 2nd, 2005, 12:28 PM
Hey guys for some reason all my clients have been asking for the "cool weather channel box"(ohhhh their words not mine let me assure you.) That can display the weather of that day ie. humidity and wind and what not. Anyway I have done several and as you can see by the screenshot the box is not the best looking element to have on a webpage. For the latest site im doing the box completely clashes with the design and I was wondering if there was anyway I could make it look more like the design I came up with.
Thanks so much in advance guys,
Chris

Script looks like this:
<script src='http://voap.weather.com/weather/oap/89411?template=LAWNH&par=1003635590&unit=0&key=a2f6b8e1ed8f0d46e98609ae5eff0af6'></script>

Solidus
February 2nd, 2005, 12:29 PM
My Weather Box:

Danno
February 2nd, 2005, 03:45 PM
Solidus... wow. i really like that feel. good job man. :D

Solidus
February 2nd, 2005, 04:14 PM
Thanks for the kind words Danno you wouldnt by any chance know how I could actually do that would ya.;)

Yeldarb
February 2nd, 2005, 04:45 PM
There are other websites that will feed you the information and then you can build a script around it. For an example, look at some of the weather widgets on www.samurize.com they use js, but I bet you could do something similar with PHP.

RushScripting
February 2nd, 2005, 04:49 PM
not with the weather channel sorry to say :(

Solidus
February 2nd, 2005, 05:04 PM
wow thanks Yeldarb Ill have to check that out if I cant get it to work. Alright Im assuming Weather Channel is totally out of the question so does anyone know of any other scripts I can get that might work from other sites?

CyanBlue
February 2nd, 2005, 08:02 PM
I know why you want to update the look of the page, but I don't think TWC is going to remove any of the element since they are using that space to advertise their company... and it goes the same with all other companies that distributes something free... One way to resolve it would be to see if the TWC offers any developer SDK for it... Don't know if it is available or not though...

Yeldarb
February 2nd, 2005, 09:01 PM
The National Weather Service provides an XML feed of the current weather, so if you wanted to write a PHP script to interpret that, you could do that.

http://www.nws.noaa.gov/forecasts/xml/

Edit: You might want to check this out if you are unsure of how to use this feed: http://jonroig.com/modules.php?op=modload&name=News&file=article&sid=61
I've never looked at it, but it seems to be along the lines of what you want.

Solidus
February 3rd, 2005, 03:00 PM
That is perfect Yeldarb Thank you very much.