My favorites | Sign in
Project Logo
                
Links:
Feeds:
People details
Project owners:
  rodolfo.novak

Inspired by the Twitter and iCal scripts for GeekTools

Changes you have to make:

Toronto's yahoo weather ID is "CAXX0504" (just go to yahoo find your city and copy the code from the URL to replace this)

http://xml.weather.yahoo.com/forecastrss?p= *CAXX0504* &u=c

And i chose Celsius &u=c (you may choose "f")

http://xml.weather.yahoo.com/forecastrss?p=CAXX0504&u=*c*

*Update* - Also change (Current Conditions:|C<BR) to (Current Conditions:|F<BR)

Simply add this to a Shell entry on GeekTools:

curl --silent "http://xml.weather.yahoo.com/forecastrss?p=YOURCITYCODE&u=c" | grep -E '(Current Conditions:|C<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'

My Website http://www.rodolfonovak.com

Also Check out RSS Feed for GeekTools http://code.google.com/p/sh-rss-feed/









Hosted by Google Code