1 Jun 2006 02:23
Re: good gawd Brian
Brian Wolven wrote: > The locations are just set in little XML files that look like this: > > <?xml version="1.0" encoding="ISO-8859-1"?> > <inifile> > <wxcode>20723</wxcode> <!-- Laurel, MD --> > <wxunits>english</wxunits> <!-- Anything but "metric" gets you > "English" --> > <wxstring>Laurel</wxstring> <!-- Place name used for display purposes --> > <wxdebug>false</wxdebug> <!-- Set to true to turn on debugging --> > <wxtimeout>10.0</wxtimeout> <!-- In seconds - set to a value > appropriate --> > <!-- for your worst-case connection > speed. --> > </inifile> > > You need to edit wxcode (just a zipcode in the US), and change wxstring > to whatever you want this location to be called. IOW, wxstring is a > 'display' setting rather than a 'config' setting. I stuck that in > because sometimes the 'official' name for a given weather code is weird > or misleading. This stuff could all be plain text (and it used to be), > but once I started using the XML methods and grabbing the XML feeds from > weather.com, I just converted it all to that format. If you've got an > XML-smart editor it probably looks purtier, too. I thought I did that at first, but it didn't work. But I am sure you are correct and I made a mistake. That is more likely. > There's a vbscript (displayRadarImage.vbs) that goes out and grabs > weather images and displays them for a specified time period in a(Continue reading)
RSS Feed