I followed the HTC Geeklet write up and everything works except for getting the weather image. Do I need two shells? One for
Code:curl --silent "http://weather.yahooapis.com/forecastrss?p=USNY1401&u=f" | grep "forecast-icon" | sed "s/.*background\:url(\'\(.*\)\')\;\ _background.*/\1/" | xargs curl --silent -o /tmp/weather.png\
This is the incorrect code. That link, while it does give you a parsable page, does not have a "forecast-icon" field to search for.
Try using this to grab the image.
Code:
curl --silent "http://weather.yahoo.com/united-states/new-york/new-york-12761484" | grep "forecast-icon" | sed "s/.*background\:url(\'\(.*\)\')\;\ _background.*/\1/" | xargs curl --silent -o /tmp/weather.png\
and then use the image shell that you had to display the image.