Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 

7 posts in this topic

Recommended Posts

i really don't know where yo post this thats why i'm posting it in this section.

 

so i want help regarding weather with geektool, the thing is i have got the weather working in celcius(i want it in celcius only) but i can't get the image(icon) thing working, i have tried so many things for it , so please help me to get it working , below are few links for my location which will be needed for you for the script.

 

 

 

http://xml.weather.y...?p=INXX0059&u=c

http://weather.yahoo...?p=INXX0059&u=c

http://weather.yahoo...jaipur-2295401/

 

Thank You.

 

 

P.S. : i want these kind of icons from yahoo only not the other flat ones or pixelated ones.

 

b_1244446693954.jpg

Share this post


Link to post
Share on other sites

Try this.

 

curl --silent "http://weather.yahoo.com/india/rajasthan/jaipur-2295401/" | grep "current-weather" | sed "s/.*background\:url(\'\(.*\)\') .*/\1/" | xargs curl --silent -o /tmp/weather1.png\

Share this post


Link to post
Share on other sites

Try this.

 

curl --silent "http://weather.yahoo.com/india/rajasthan/jaipur-2295401/" | grep "current-weather" | sed "s/.*background\:url(\'\(.*\)\') .*/\1/" | xargs curl --silent -o /tmp/weather1.png\

 

thanx mate , i already got this script from a youtube video but i used weather.png in place of weather1.png :)

 

now setting this thread as solved :)

Share this post


Link to post
Share on other sites

My weather icon has stopped working!

 

Here's what I have in prefs...

 

geekweather.jpg

 

Help!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×