Option Explicit
On Error Resume Next
Dim WEATHER_URL, fso, cacheFile, wasOld
const CITY_ID= "VUtYWDAwMjg%3D=" 'get your city id from [url]http://weather.interceptvector.com/list.php[/url]
const USE_CELSIUS= True 'make it False if you want Fahrenheit
const SAMURIZE_DIRECTORY= "C:\Program Files\Samurize" 'change if different than yours
' --- DO NOT TOUCH THE CODE AFETR THAT POINT UNLESS YOU KNOW WHAT YOU ARE DOING ---
WEATHER_URL= "http://weather.interceptvector.com/weather.xml?id=VUtYWDAwMjg%3D" & CITY_ID
If (USE_CELSIUS=True) Then
WEATHER_URL= WEATHER_URL & "&celsius=true"
End If
'YAWS v 0.53 by cicada ([email protected]) - weather script
'Cache, weather images and client.exe management
'Compatibile with Samurize 0.84 and probably with higher viersions
'Weather information provided by Intercept Vector (http://weather.interceptvector.com)
'For Sofia, Bulgaria, using Celsius it is: http://weather.interceptvector.com/weather.xml?id=QlVYWDAwMDU=&celsius=true
Option Explicit
On Error Resume Next
Dim WEATHER_URL, fso, cacheFile, wasOld
const CITY_ID= "VUtYWDAyMTU%3D" 'get your city id from http://weather.interceptvector.com/list.php
const USE_CELSIUS= True 'make it False if you want Fahrenheit
const SAMURIZE_DIRECTORY= "C:\Program Files\Samurize" 'change if different than yours
' --- DO NOT TOUCH THE CODE AFETR THAT POINT UNLESS YOU KNOW WHAT YOU ARE DOING ---
WEATHER_URL= "http://weather.interceptvector.com/weather.xml?id=VUtYWDAyMTU=" & CITY_ID
'YAWS v 0.53 by cicada ([email protected]) - weather script for Samurize 0.84 and higher
'Temperature, city and environment management
'Compatibile with Samurize 0.84 and probably with higher viersions
'Weather information provided by Intercept Vector (http://weather.interceptvector.com)
'For Sofia, Bulgaria, using Celsius it is: http://weather.interceptvector.com/weather.xml?id=VUtYWDExMzQ==&celsius=true
Option Explicit
On Error Resume Next
const SAMURIZE_DIRECTORY= "C:\Program Files\Samurize" 'change if different than yours
const USE_CELSIUS= TRUE 'make it False if you want Fahrenheit
' --- DO NOT TOUCH THE CODE AFTER THAT POINT UNLESS YOU KNOW WHAT YOU ARE DOING ---
Ahhh
Also, remember to delete the xml file that is generated, then re-run the vbs file to generate a new xml file. You can check the contents of the cml file by loading it up in notepad to see whether the correct one has been generated. [/B]