Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Mac Community > Picture Gallery > UI Customization

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 2, 2013, 05:40 PM   #1
todd2000
macrumors 68000
 
Join Date: Nov 2005
Location: Danville, VA
How to get Yahoo Weather Descriptions back in Geektool?

So I have had GeekTool turned off for a while, but I missed it, so I turned it back on today. I noticed that some of my Weather scripts weren't working right, because Yahoo had changed their site around. Specifically the image and the detailed descriptions weren't working. I managed to find a thread that fixed the image, but can not figure out how to get the detailed descriptions.

I am trying to get descriptions that pop up when you mouse over the days on this page http://weather.yahoo.com/united-stat...ille-12767875/

ie Today: blah, blah, blah etc.. Tonight: blah blah, etc..

They used to be in plain text right on the page, but now with the pop-up is it even possible?

Here is the script I was using:

curl --silent "http://weather.yahoo.com/united-states/virginia/danville-12767875" | grep -e "<li><strong>Tonight:</strong>" -A 1 | tail -n 1

Thanks!
__________________
You only need two tools - WD-40 and Duct Tape. If it doesn't move and should, use the WD-40. If it shouldn't move and does, use the duct tape.
todd2000 is offline   0 Reply With Quote
Old Feb 3, 2013, 12:55 AM   #2
todd2000
Thread Starter
macrumors 68000
 
Join Date: Nov 2005
Location: Danville, VA
anybody?
__________________
You only need two tools - WD-40 and Duct Tape. If it doesn't move and should, use the WD-40. If it shouldn't move and does, use the duct tape.
todd2000 is offline   0 Reply With Quote
Old Feb 11, 2013, 04:37 PM   #3
JRT-King
macrumors newbie
 
Join Date: Jan 2013
Try this out for the current day and next day forecast for your area with hi/low temps. Haven't had any luck getting the pop-ups to appears as they do on yahoo

curl --silent "http://weather.yahooapis.com/forecastrss?p=USVA0206&u=f" | grep -e "Forecast:" -A 2 | tail -n 2 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/\(.*\)\.\ \(.*\)/\1\?\2/" | tr "?" "\n" | sed "s/\?\(.*\)/\\1/"

Last edited by JRT-King; Feb 11, 2013 at 05:02 PM.
JRT-King is offline   0 Reply With Quote
Old Mar 13, 2013, 04:38 PM   #4
wild4life2013
macrumors newbie
 
Join Date: Mar 2013
same thing happen to me

Look at my post cant work out why they are not working this also might help you to find out why yours are not working if i find out any thing i will let you know.
Thanks in advance link to my post http://forums.macrumors.com/showthread.php?t=1556183
wild4life2013 is offline   0 Reply With Quote

Reply
MacRumors Forums > Mac Community > Picture Gallery > UI Customization

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 01:01 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC