10.4: Use the Weather widget from non-USA locations
May 03, '05 12:55:00PM
Contributed by: Anonymous
I had some problems entering my location in the Weather widget under Tiger. It seems like it does not support non US locations out of the box. At least I was not able to find a way by just entering "City, Country" and other variations.
I checked the javascript source and found a way to make it work:
- Go to accuweather.com
- Click on World
- Select your region
- Enter your location
- Press Go
Move your mouse over the link matching your location in the search results. Look at the end of the target URL in Safari's status bar, and you'll see a parameter called zipcode. This is what needs to be entered in the weather widget's location field to make it work.
For Zurich in Switzerland this parameter is EU;SW;Zurich;. I entered this "zipcode" in the Weather widget, and it now works as expected. I think it is pretty self explanatory as to how the format works. You can ommit the trailing semicolon if you like.
[robg adds: I can't confirm the problem or the solution -- please post any comments one way or the other...]
Comments (33)
Mac OS X Hints
http://hints.macworld.com/article.php?story=2005043015474478