GeekTool Weather not working

celticpride678

Guest
Original poster
Feb 15, 2009
5,489
1
Boston, MA
I have GeekTool 3 and weather is not working. I am trying to get the current conditions, temperature and a picture of the conditions, but it is not working. Can someone give me the code and tell me what information to fill in? Thanks.
 

Steve-M

macrumors regular
Jun 12, 2009
159
0
Code:
curl --silent "http://xml.weather.yahoo.com/forecastrss?p=USCO0020&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's///' -e 's/<\/description>//'
Will get you the current conditions. You will need to change USCO0020 to match your location. Not sure about the pic, haven't tried that yet :)
 

ybizeul

macrumors newbie
Jul 29, 2013
3
0
GeekTool 3.2 is out! Weather geeklet much easier with HTML Geeklets

- New Web Geeklet type to display remote web sites, widgets or script-generated HTML
- Geeklets can now be displayed relative to an edge or corner of the workspace
- Fix an issue causing Geeklet to move out of the desired location
- Fix issues with shell scripts disappearing entirely or partially
- Added a checkbox to disable automatic updates
- Fix a freeze of GeekTool when loading some longer scripts
- Better management of Geeklets timing out

- Numerous improvements and bug fixes

https://dl.devmate.com/org.tynsoe.GeekTool/GeekTool.zip
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.