Announcement

Collapse
No announcement yet.

Revised XML Weather Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Revised XML Weather Script

    What is a XML based weather site without a XML based script to parse the data. So I completly rewrote the script using the Microsoft XML Parser. This is a lot easier than searching for tokens in a web page. It may not provide as much detailed information as other pages, but works great for my needs.

    Also included are the icons needed for displaying in the web interface.

    A couple of things:
    Change devices in the script to match HS devices (ie. CONST DEVCODE_UPDATE = "w1")
    Set WeatherIconDirectory in script to match the directory of the icons. "C:/Program Files/HomeSeer/HTML/XML Weather/" is assumed.

    [Update]
    Created xml_weather.ini and added date fix. To install over existing version, remove the [location] section from the HS settings.ini and run new script.

    [Update] 12.04.2002:
    Fixed problem with degree character and UltraView.

    [This message was edited by Rick Fox on Sunday, 01 December 2002 at 09:00 PM.]

    [This message was edited by Rick Fox on Wednesday, 04 December 2002 at 08:29 PM.]
    Attached Files
Working...
X