Im not sure why it wasnt working for me but i think it
might be that weather.com changed their layout around a
bit. anyways im not a coder so ill try to present the
changes i made to get it working as clearly as possible.
original E-Forecast.c file had
Esnprintf(str_cmd, sizeof(str_cmd),
"wget -q -O - %s|grep %s|sed 1d|awk -F'\"' '{print
$2}'|head -n 1", str_url, __FORECAST_STRING);
in the fetch_forecast_image_url function
i changed it to:
Esnprintf(str_cmd, sizeof(str_cmd),
"wget -q -O - %s|grep %s|grep current| awk -F'\"'
'{print $2}'|head -n 1", str_url, __FORECAST_STRING);
works like a charm. Dont hold me accountable if
something breaks, i am NOT a coder.
--truth
Squirells..Natues little speed bumps.