Results 1 to 4 of 4
  1. #1
    Geektool Weather scripts

    Member Since
    Aug 23, 2011
    Posts
    1
    Geektool Weather scripts
    Hey guys can someone help me with geek tool weather scripts. Im new to mac and i was told about geektool and that i could have weather displayed on desktop. I have no idea how to go about starting a script so could someone post some scripts with directions on how to customize them for my area. I would like to use yahoo weather with images and forecast. Thanks and i would greatly appreciate some help.

  2. #2
    Geektool Weather scripts

    Member Since
    Jan 01, 2012
    Posts
    16
    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
    Code:
    curl --silent "http://xml.weather.yahoo.com/forecastrss?p=leeds-26348957&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>//'
    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?

    Thanks

  3. #3
    Geektool Weather scripts
    McYukon's Avatar
    Member Since
    May 14, 2009
    Location
    Near Whitehorse, Yukon
    Posts
    2,052
    Specs:
    2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9
    The weather URL has changed, try this.
    Code:
    curl --silent "http://weather.yahooapis.com/forecastrss?p=UKXX0078&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>//'
    Use the reputation system if a post helps you!
    Mac Forums IRC Channel - Help build it by hanging out with us
    The next sentence is true. The previous sentence is false.

  4. #4
    Geektool Weather scripts

    Member Since
    Jan 01, 2012
    Posts
    16
    Thumbs up
    Thanks McYukon working now

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Geektool scripts
    By applemaniac in forum OS X - Apps and Games
    Replies: 0
    Last Post: 11-02-2011, 06:52 PM
  2. Geektool Weather Not Updating
    By cad2blender in forum OS X - Apps and Games
    Replies: 0
    Last Post: 12-06-2010, 02:07 AM
  3. Help with geektool...
    By Fiyera in forum OS X - Apps and Games
    Replies: 1
    Last Post: 09-19-2010, 01:15 AM
  4. Geektool 3
    By Wolfpirate in forum OS X - Operating System
    Replies: 1
    Last Post: 01-13-2010, 12:37 PM
  5. Geektool Weather
    By evsie132 in forum OS X - Apps and Games
    Replies: 0
    Last Post: 05-15-2009, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •