02-26-2003, 12:40 PM -
'One last try' syndrome took over me and I think I found a solution. Try this code which relys on aws' gif icon names!
This demo code includes just two of their icon names, 'nt_partlycloudy' and 'partlycloudy'. Any icon prefixed with 'nt_' is going to be night, so this can be looked for to make Weather Monitor display a night icon! It may take you a while to collect the icon names for all the night and day weather conditions!
this file is also attached
<phew>
/Mark
This demo code includes just two of their icon names, 'nt_partlycloudy' and 'partlycloudy'. Any icon prefixed with 'nt_' is going to be night, so this can be looked for to make Weather Monitor display a night icon! It may take you a while to collect the icon names for all the night and day weather conditions!
Code:
[options]
name = Night Or Day Weather
starturl=http://www.wunderground.com/
SendCookies = 0
[Conditions]
find0 = "<table border=0 cellspacing=0 cellpadding=2 bgcolor="ccccff" width="100%">"
find1 = "<img src="icons/"
delim = ".GIF"
[Sun]
nt_partlycloudy
[Rain]
partlycloudy
<phew>
/Mark