View Single Post

Member Since: Jan 01, 2012
Posts: 16
goatboy is on a distinguished road

goatboy is offline
Hello I'm having the same problem

I followed the instructions on Life hacker - here: Put Current Weather Conditions on Your Desktop with GeekTool

I am in Leeds, UK and this is the Yahoo weather link for Leeds: Leeds - West Yorkshire Weather Forecasts | Maps - Yahoo! Weather UK

So I replaced the YOURCITYCODE with the code from the Yahoo url leeds-26348957
but just get nothing in the shell tried refreshing but still nothing

my full code is
curl --silent "" | 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>//'
I have also tried just using the 8 digit no. 26348957 (without the leeds-) but get same result. Anyone know what I'm doing wrong?

QUOTE Thanks