New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Geektool Weather scripts


Post Reply New Thread Subscribe

 
Thread Tools
yngplya19

 
Member Since: Aug 23, 2011
Posts: 1
yngplya19 is on a distinguished road

yngplya19 is offline
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.
QUOTE Thanks
goatboy

 
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
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
QUOTE Thanks
McYukon

 
McYukon's Avatar
 
Member Since: May 14, 2009
Location: Near Whitehorse, Yukon
Posts: 2,053
McYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to behold
Mac Specs: 2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9

McYukon is offline
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.
QUOTE Thanks
goatboy

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

goatboy is offline
Thanks McYukon working now
QUOTE Thanks

Post Reply New Thread Subscribe


« Ccleaner screwed up firefox | portable pdf files »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Safari Weather Extensions Won't Refresh iWhat OS X - Apps and Games 6 04-01-2011 11:06 PM
Geektool Weather Not Updating cad2blender OS X - Apps and Games 0 12-06-2010 02:07 AM
GeekTool 3 HELP ToNeOS OS X - Apps and Games 0 05-18-2010 02:13 PM
Geektool Weather evsie132 OS X - Apps and Games 0 05-15-2009 01:10 AM

All times are GMT -4. The time now is 05:07 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?