Judges Weather Script

Hey sorry to bother you all again, i was just having troble configuring judges samurize script and ive saved the two pages from weather.com (hourly and daily) as html documents (my city is london canada) and after awhile it just overwrites the files with ones from some city in the states near boston

im kinda lost sorry not really a programmer, any help would be apreciated thanks!

Umm to be a little more specific could u help me figure out what i need to change in the "DesktopWeather.vbs" file I currently have it open in notepad, i dont know what area code to enter in the areacode section at the top, because i live in london ontario canada i have a canadian area code eg: N6Y2R4 p.s thats not my actual area code

sould someone give me a hand thanks

#31973

for your location, you're not supposed to change anything else in the code. The only thing you have to change is the CITY

const CITY = "london, canada"

#31995

;) oh okay i understand thanks for the quick response but one other question ive got that to work, but how do u get the hourly page to work like i can't get the bars and stuff to work, i think i read somewhere that those will only work in the states is this true do u think?

oh well thanks again for ure help thats awesome (Y)

#32048

Actually, if you live outside the US, the hourlyFile will return N/A.

Examples:

London, Canada => http://www.weather.com/weather/detail/CAXX...XX0255?dayNum=0

Munich, Germany => http://www.weather.com/weather/detail/GMXX...XX0087?dayNum=0

Rome, Italy => http://www.weather.com/weather/detail/ITXX...XX0067?dayNum=0

I got the hourly bars to work by altering the hourlyURL statement to look like any of the above.

The CITY values can be easily obtained by entering your location on the weather.com front page and looking in the address bar.

#32062

Thanks Judge. Tried it but unfortunately still doesn't work.

If you delete the htmls and reload the config, only the weather.daily.html appears. The hourly one isn't being generated.

So I went back to the previous version.

:)

#32125

Awesome Thanks! :D it worked

#32164

Works great for other countries now Judge. Only one it doesn't work with so far is "Jakarta, Indonesia"

Not your fault because weather.com can't decide which Jakarta to use. :)

#32423