Weather.com Changeing Html Code

I just stumblled on this post by Moby (MobyDock): link

----------------------cut--------------------------------------

hi,

weather.com changed the html-code, so the parser doesn't work correctly. it is fixed in the new release which can be expected in some days.

Moby

----------------------cut------------------------------------

He's talking about weather docklet for

Mobydock but mine so far perfectly working script for Samurize start to display

lots of garbage as of last night.

If this is true then Judge (or someone) should update weather script

we all been using.

Can someone confirm this?

#58958

it's started to show N/A in temp.

Never for getDayFC (daynum=0)

Tonight for getDayFC (daynum=1) :blink:

#59005

all my stats are ok except the current temp, which now displays n/a.

an update would be wonderful, but weather.com keeps changing their website.

edit: just noticed the images won't update either.

#59006

Originally posted by Voodoo411@Sep 24 2003, 10:20 PM

it's started to show N/A in temp.

Never for getDayFC (daynum=0)

Tonight for getDayFC (daynum=1) :blink:

Same here !!! :blink::blink:

#59010

yea, my weather docklet for YzDock says N/A too. :(

#59011

My Weather Docklet for Y'z Dock Works fine. Night/Day Images, Temperature showing,etc

I'm using http://beta.weather.com/. Maybe that's why.

#59014

mines is also showing N/A

#59049

mine is also shownig N\A

and the weather docklets arent working :rant:

#59050

Iam using the custom url that Rain is using also and its fine object bar docklet is down though

#59055

try changing w3 to beta

i.e if you had w3.weather.com/

change it to beta.weather.com in the vb script

don't know how long this fix will last if weather.com keep changing their coding

#59061

Thanks for posting that temp fix though guys, I mean I thought for a second there that I had done something wrong again, cause it has happened to me once before but it was my fault! I thought I screwed up all over again! Thanx!

#59082

Hey, I just saw all of this stuff about weather.com changing their code. I'm not a dock user so I can't say this affected me, but a couple of years ago I developed a program to display weather on a website and the feed came from weather.com's site so I know the pain it is when they change site layout! However, I just came up with this link:

http://www.weather.com/services/xmloap.html´

It allows for a "subscription" for xml based data for applications:

Weather XML Data Feed

Now you can include weather from The Weather Channel in your own application by signing up for access to our XML data feed. We'll enable you to search for a location and to integrate current conditions and the forecast for today and tomorrow in your application - for FREE!

I believe this is waaaaaaay simpler than writing a parser every time weather changes their site.

Just thought I'd let the forum know.

Hope it helps... lotsa luck! (Y)

#59121

Changed w3 to beta and it's working for now...

#59138

:rule: thx a lot :own: working again (Y) :bow: :rock:

#59141

I was going crazy for this, tnx a lot for the change :naughty:

#59142

woot... thankz for the beta thing fix. look like it works for now. dont know the future

#59144

As far as I know, I have been using the weather docklet ever since it came out for Y'z Dock by Albeik. At that time, weather.com was having problems, so resulted in alot of docklet users complaining.

Somehow, someone from this board managed to find a fix, which is http://beta.weather.com/. And ever since then, I did only have 1 downtime for my weather docklet, which I think the server is down for maintenace.

So if anyone who can change the url for their weather docklet, switch to http://beta.weather.com/ if you are experiencing problems with the main server.

Glad to be of help.

#59177

er....

what about the samurize problem?

#59182

If I'm not wrong, the weather script has 2 .vbs file. It's been a long time since I have used samurize with Judge's script. By editing the .vbs with a notepad, I think you can change the url, in one of the .vbs file. (the one for inputing your city or country code), just to be on the safe side, check refreshweather.vbs if there's any link pointing to weather.com.

Hope this helps.

#59196

Anyone having any luck with the new link...? :( [beta.weather.com]

It only works for me for a couple of hours... and now it just doesn't

seem to update the weather at all... :blink:

Please tell me how are you guys going with the new link... :goku's job:

wondering if it's only happen to me or to the rest of us... :rant:

@Judge: is the script version up to v1.4 now...? I only got the v0.4...

#59241

Beta still seems to be working for me...

Also uk.weather.com is fine and is being used by the modded ObjectDock weather dock on this forum.

Hope they finalise the changes they are making soon.

#59266

beta.weather.com works fine for me. thanks (Y)

#59303

Septimus,

Where is the modded ObjectDock weather dock that works???? I can't find it.

Can you please tell me where the link is?

Thanks

#59400

Thx for reminding to use beta.weather.com

I just thought that it is a problem of my Y'z Dock

Thx so much~

(Y)

#59416

@Judge (and anyone else who is interested): about the whole XML thing... I just registered, basically it breaks things up in web based app and desktop based app, they give you some rules to follow about refreshing the content (something like 2 hours for the 10 day forecast and 30 minutes for the current conditions); you must display their logo and I think 3 links back to their site or something like that... You download an SDK which is comprised of 2 pdf's (one describes the xml you get the other their logo usage), and some weather png's (conditions in 32, 64 and 128 and logos); the interesting part is how you get your weather conditions... check it out:

http://xml.weather.com/weather/local/MXDF0...&dayf=10&unit=m

This lacks a key and product id which right now they don't seem to be checking but they might later on...

cc = current conditions

dayf = # of days in the forecast

unit = unit of measure (s or m)

Just something to think about for future developments ;)

#59495