>HI everyone
>
>I want to display the current "Air Temperature" on system.
>
>Someone told me use RSS
>
>Is't the easy way to get that infromation from observatory ?
>
>if yes, how to program with "
http://rss.weather.gov.hk/rss/CurrentWeather.xml",
>how to make it into a .txt file.
>
>Is't another way can do it ?
You can use XMLTOCURSOR() on this XML file. Here is one way of doing it (Assuming you downloaded the XML file to your c:\)
XMLTOCURSOR("c:\currentweather.xml","weather",512)
SELECT weather
LOCATE
nCount =ALINES(myWeather,weather.iTem)
FOR i = 1 TO nCount
IF "AIR TEMPERATURE" $ myWeather[i]
? STRTRAN(myWeather[i],"<br/>","")
EXIT
ENDIF
ENDFOR