GeekTool Weather not working

Discussion in 'UI Customization' started by celticpride678, Nov 19, 2009.

  1. celticpride678

    Joined:
    Feb 15, 2009
    Location:
    Boston, MA
    #1
    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.
     
  2. Steve-M macrumors regular

    Joined:
    Jun 12, 2009
    #2
    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 :)
     
  3. ybizeul macrumors newbie

    Joined:
    Jul 29, 2013
    #3
    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
     

Share This Page