-
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 21.07.08
- Messages:
- 261
[quote:d639c27bb9]“Oh!” said Miss Marple. She was just about to step through the window when she stopped suddenly, and a bewildering series of changes passed over her face.
“Oh, dear,” she muttered to herself. “I have been stupid.”
Agatha Christie - The murder at the vicarage
[/quote]
In a few days I will release a new version and I hope it will solve the problem some people are having with the weather module : installation went smoothly, no error, they strictly follow the procedure to install a city package and define a default city, but they can't get the module working, they either get a "no data" or a "Weather information unavailable" both with msnbc and weather.com.
I thinked about it, but never get an idea of what was happening, and a few days ago somebody said something in a mail about "it's server proxy" and it suddently hit me : to get the weather data the module use the snoopy library to masquerade as if it was a web client to establish an http connexion with msnbc or snoopy, but what if the network the server is on enforce the use of a proxy to all web clients ? very simple the connexion attempt will never reach msnbc or weather.com !!
I think this is the explanation of some unsolved users problems.
It was very simple to add the ability to use a proxy because snoopy has already it built-in so I added config vars for proxy host, port, user and pass
If some visitors reading this message think their server need to use a proxy for http client connexion, they can already get this version sending me a private mail on this site. -
Invité
- rang:
- 1
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.03.05
- Messages:
- 0
how do you find the ACCID for a givent city.?
I went to the MSNBC.com as suggested but could not figure out "how to " find the required ACCID for cities.
Please suggest. thanks. -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 21.07.08
- Messages:
- 261
can you either on MSNBC or weather.com display the weather for that city ? if the answer is yes then yu are done because the ACCID code is in the page url so you just have to look in the address field of your browser.
For instance on weather.com if the url is : http://www.weat...lswe=rio&lswa=WeatherLocalUndeclared then ACCID code=USWI0594
On MSNBC if the url is : http://www.msnb...?tab=oth&ta=y&czstr=Santo+Island%2FPekoa+Airport%2C%20&accid=NHXX0001 then of course ACCID code=NHXX0001
But I think you should'nt have to do that because I put all available codes in countries datafiles. For what city are you trying to get weather forecast ?








