On 24. mars 2009 21:15, Martin Janser wrote:
> Hello
> 
> I would like to use the weather plugin of Elisa if it would have some
> more functionality as in the current version.


I've thought about some of the same things, but I have yet to actually
sit down and really do it (I actually started once, but never got around
to really write any code).

Just as a note, the Norwegian Metereological Institute and Norwegian
Broadcasting Corporation is providing a free service for anyone, with
easy to use interfaces in both xml, and other formats.

Ofcourse the service is mostly for Norway, but it also contains XML for
more than 2500 locations in the rest of the world as well.

Here is a complete list of all the URLs to the international XML files
http://fil.nrk.no/yr/viktigestader/verda.txt

The names are in Norwegian, but it also contains a geonames-ID, so one
can quite easily use http://www.geonames.org/export/ to translate them
if needed.

And an example XML-file:

http://www.yr.no/place/Andorra/Andorra/Andorra_la_Vella/forecast.xml



Rgds.


/Ola (T)



-- 
         _,--',   _._.--._____
  .--.--';_'-.', ";_      _.,-'   Ola Thoresen
 .'--'.  _.'    {`'-;_ .-.>.'
       '-:_      )  / `' '=.      It is easier to fix Unix
         ) >     {_/,     /~)     than to live with Windows
         |/               `^ .'

Reply via email to