Jump to content

[Solved]GeekTool weather

geektool

  • Please log in to reply
6 replies to this topic

#1
Amit Meena

Amit Meena

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 373 posts
  • Gender:Male
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.

Posted Image

#2
maximus

maximus

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 107 posts
  • Gender:Male
  • Location:Croatia
  • Interests:Everything IT related, Hi-Fi audio, good books
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\


#3
Amit Meena

Amit Meena

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 373 posts
  • Gender:Male

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 :)

#4
bh2

bh2

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 686 posts
  • Gender:Male
  • Location:Oxford, UK
My weather icon has stopped working!

Here's what I have in prefs...

geekweather.jpg

Help!

#5
Amit Meena

Amit Meena

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 373 posts
  • Gender:Male

My weather icon has stopped working!

Here's what I have in prefs...

geekweather.jpg

Help!

same here :(



#6
bh2

bh2

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 686 posts
  • Gender:Male
  • Location:Oxford, UK
Looking over at macrumours... seems to have stopped for lots of peeps.

#7
Amit Meena

Amit Meena

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 373 posts
  • Gender:Male

Looking over at macrumours... seems to have stopped for lots of peeps.

let us know if you find anything on it.







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy