From: Bruce W. <br...@mi...> - 2000-11-22 04:34:37
|
> The new Weather.pm module does not support non-US sites. It either assume > you key in a ZIP code as the city parameter or the state/city combination, > it will the prefix it as a us site, that is done in this line: > > $page = $self->{base}.'cities/us_'.$state.'_'.$city.'.html'; > > For me here in Sweden it should look like this, state is not used: > > $page = $self->{base}.'cities/sw__'.$city.'.html'; Opps. Shows you what I know :) I went to weather.com, browsed a few international cities, and somehow convinced myself that simply putting the country in for the state field got the right answer. If you don't get any responce from Mike, let me know. We can always make the change and send it to him. I would also ask him about the forecast. I'd be happy to add it if he doesn't want to. Bruce |