-
- enregistré depuis:
- juillet 2006
- Status:
- hors ligne
- dernière visite:
- 03.09.06
- Messages:
- 3
Hi there, is it any way I can change the weather location to one that isn't listed at weather.com ? The nearest weather station that shows up on weather.com is about 10 km away in another town but I want to display for a different town. -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.07.08
- Messages:
- 260
Unfortunately this is not possible because the module need to be able to fetch the data from weather.com so this is only possible for cities having a code on weather.com
The only thing you can do is to change the city name in your database (for instance with phpmyadmin) but the weather displayed will always be the one for the distant city, only the displayed name will change. -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.07.08
- Messages:
- 260
can you give me the complete address where the weather for your city is displayed on weather.msn.com ?
For instance weather forecast for New York is http://weather....locations=wc:USNY0996
the important part is the final code (here USNY0996 for the New York city) once I have the code for your city we can try to see if it works also on weather.com.
If you try USNY0996 in the weather module you will see that the code for New York is the same on weather.com and weather.msn.com. But I don't know if it will be the case also for your city.
If it works, I will explain you how to add this city in your weather module. -
- enregistré depuis:
- juillet 2006
- Status:
- hors ligne
- dernière visite:
- 03.09.06
- Messages:
- 3
Here it is: http://weather....locations=wc:27603
And no, it doesn't look like weather.com wich is: ROXX0026 coresponding to Caransebes wich is the nearest town from my current location "Resita"
However, on the weather.msn.com website, the code for Caransebes is the same with the one from weather.com: ROXX0026
Question, can I put 27603 (Resita) instead of ROXX0026 (Caransebes)?
I belive I have to add it to the data file?
Thanks a lot JMV
Ovidiu








