DXMLweather
Average Rating: 8
Yours: -1
File Size: .59MB
Downloads Today: 0 Downloads Total: 9760

DXMLweather

Updated Dec 15, 2003 by Bryan Cooke


First Previous Page 3 of 4 Next Last
PhrozenMenace
Comment #41 Tuesday, October 28, 2003 1:30 AM
hey Bryan is there a way to move the info..like if you had made another background and the info was too far to the edge..would there be a way to adjust it?
KrYaXx
Comment #42 Wednesday, October 29, 2003 6:34 AM
a clean sleek, normal style 'weather' skin
Bender50
Comment #43 Wednesday, October 29, 2003 10:29 AM
Cant get Canadian Cities , eh!
Bryan Cooke
Comment #44 Wednesday, October 29, 2003 11:13 AM
Can get Canadian weather for these cities http://www.weather.com/common/drilldown/CA.html?from=search See below for details on how.
Sukothai
Comment #45 Wednesday, October 29, 2003 10:01 PM
Bryan, great prog. However having a lot of trouble connecting to server in script.

I notice this is different to that used to get location code:-

Location Code:
http://www.weather.com/outlook/
travel/local/THXX0002

Script:
http://xoap.weather.com/weather/local/"

Is there a reason for this or can you suggest a cure?

Thanks
Sukothai
Comment #46 Wednesday, October 29, 2003 10:05 PM
Additional,

If I use a browser to connect to the site in your script I get the following message

"Forbidden
You don't have permission to access /weather/ on this server".
Bryan Cooke
Comment #47 Wednesday, October 29, 2003 10:06 PM
I don't have any trouble getting this code to work (Bangkok, Thailand). Are you double-clicing on the location to enter the location code?
Sukothai
Comment #48 Wednesday, October 29, 2003 11:18 PM
Yes and the difficulty is with the server connection. Too often I get an error message. Perhaps from my location it takes lnger to connect. Is there a way to change the script to allow for a longer access time?
Thanks
Bryan Cooke
Comment #49 Thursday, October 30, 2003 8:54 AM
Make sure you have downloaded the newest code (10/28) and change the number that appears at the end of line 257 to something greater than 3. This is the nuber of seconds the script will wait for a response from the GET. Hope this helps, if it doesn't I'm at a loss.
Stumpy
Comment #50 Thursday, October 30, 2003 4:01 PM
Looks nice, Shame it can't be used in UK (
Aqua.
Comment #51 Thursday, October 30, 2003 4:05 PM
When I start up it stays blank for several minutes and then displays a script error. I click continue and sometimes the weather info loads, sometimes it doesn't, and every few minutes I get another script error. Sometimes it actually displays the weather information, most times it doesn't.

FYI: I have a dial-up connection. And I downloaded the object on Oct. 30.

The error I get is:

Object required: 'weatherDoc.documentElement.selectSingleNode(...)'
Line: 121
Code:
(not available)
Aqua.
Comment #52 Thursday, October 30, 2003 4:06 PM
120: 'Get units
121: Object.PersistStorage("ut") = weatherDoc.documentElement.selectSingleNode("/weather/head/ut").Text
Sukothai
Comment #53 Thursday, October 30, 2003 11:49 PM
Bryan,

Interestingly enough, when first loading it works ok and after the next failure if I re- insert the city code 9 times out of ten it will work.

It does not appear to knick in by itself!!

IMBoguss
Comment #54 Saturday, November 1, 2003 5:07 PM
Can't make it work!

It always says:
"Problem communicating with remote server.."

When I try to change the ZIP code it says:
Object required: 'validDoc.documentElement'
Line: 235
Code:
(not available)

No problems with internet connctivity on any other apps, including other DX objects.

Any ideas???
xpwench
Comment #55 Sunday, November 2, 2003 5:23 PM
I think this is a great idea, but since I'm a newby, I have no idea how to get it to work for my Canadian city......waaaa (
xpwench
Comment #56 Sunday, November 2, 2003 5:29 PM
what exactly am I changing on the script to get my weather? (
Sukothai
Comment #57 Monday, November 3, 2003 2:28 AM
Is it possible to change the frequency that the weather is checked or alternative whether it is possible to configure for a check at either the hour, 15 past, half past etc.

Thanks
Bryan Cooke
Comment #58 Monday, November 3, 2003 7:41 AM
The weather is usually updated every hour at 53 min into the hour, but is still checked every 10 min. You do not have to change anything in the script to get international cities! Go to http://www.weather.com and type the name of your country in the "local forcast" search. A page will come up listing some cities in your country and there will be a link that will look like 'Country: Canada' or whatever country you searched for. When you click on this link you will be taken to a page that lists many cities in your country. Now click on the city you want weather for. When this is done you will be taken to a page that has this cities current forcast. In the address bar you will see an eight digit code in the URL after /travel/local/ Copy this code into zip code change dialog of the object. I hope this helps in getting this object to work for all the non-US folks! Later!
ZuiuZ
Comment #59 Thursday, November 6, 2003 6:57 PM
Great Object... I live in Germany, near Frankfurt and couldn't use it in the beginning... but I found out how to use it in other countries.
FOR ALL NON-US USERS:
for Frankfurt in Germany I use the ZIP-Code GMXX0003.
In common the code is based on three combinations:
[Coutry-Code (2 letters)][XX][City-Code (4 numbers)]
Examples for Country-Codes:
GM = Germany; NL = Netherlands; BE = Belgium; CA = Canada; UK = United Kingdom; FR = France; SP = Spain etc.
For the City-Code you have to find out yourself by trying. I think only the major cities are available.
Have a try.
ZuiuZ
Comment #60 Thursday, November 6, 2003 10:18 PM
I had some problems with the Low/High-Temperatures in �C.
When the temperature was "N/A", the conversion to �C run into an error in the GetTemp-Function which resultet in a script error.
I've modified the GetTemp-Function a bit, so the problem has gone.
For all those who use �C you can replace the GetTemp-Function in the script with this one:

Function GetTemp(intemp, disp)
Dim conv
Dim tempTemp
If Object.PersistStorage("temp_mes") = "C" Then
If intemp = "N/A" Then
conv = "N/A"
Else
conv = round((5 / 9) * (intemp - 32))
End If
If disp = True Then
tempTemp = conv & "�C"
Else
tempTemp = conv
End If
Else
If disp = True Then
tempTemp = intemp & "�F"
Else
tempTemp = intemp
End If
End If
GetTemp = tempTemp
Set conv = Nothing
Set tempTemp = Nothing
End Function

Have Fun

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading files.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!
Downloads remaining: 5
User Level: Visitor

Featured DesktopX Objects

Popular DesktopX Objects

Top DesktopX Objects Skinners

Yesterday  |   Last 30 Days  |   All Time
1. _Martin_ 421
2. Frogboy 218
3. DaWebMassa 203
4. ChaosMachine 196
5. pjpowell 185
6. mormegil 173
7. deggy 154
8. Carlitus 137
9. MountainDragon 129
10. theAVMAN 128
11. c242 128
12. SS GOKU 123
13. Jaramia 97
14. BoXXi 96
15. Tiggz 93



web-wc01