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

Similar Threads
thread Thread Starter Forum Replies Last Post
Weather script used in GeekTool no longer displaying conditions ideal.dreams Mac Applications and Mac App Store 13 Jun 26, 2014 03:39 PM
Geektool: Custom Weather Descriptions? Micdoogs UI Customization 0 Mar 13, 2014 11:05 PM
iPhone: Yahoo Weather default weather app dmick89 Jailbreaks and iOS Hacks 25 Jan 16, 2014 07:12 PM
Yahoo! Weather updated back to their old icon WhackyNinja iPhone and iPod touch Apps 2 Jul 22, 2013 07:21 PM
iPhone: Reroute Weather Widget and Weather app to new Yahoo Weather eyoungren Jailbreaks and iOS Hacks 7 May 2, 2013 12:40 AM

Forum Jump

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

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

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