Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
Hey, so I am trying to do something similar to the weather geeklet, however instead of the weather, I am trying to display a .png based on the day of the week.

any pointers or tips to do so?

My Ultimate Weather Script will be able to do this for certain websites when I release the code. It is currently in Beta.
 
Anyone else's Yahoo weather script stop working? Mine downloads the weather.html file but then doesn't extract the current weather JPG anymore.

Anyone else got this?

They changed the underlying HTML source for their 5 day forecasts. My Ultimate Weather Script is now broken in regards to obtaining this set of Yahoo data.

I'm debating, again, on whether or not I should remove the support for the normal Yahoo weather from my script. The Yahoo RSS stuff still works, but the other page has a specific warning about improper use of their data.
 
Here is my latest desktop, unfortunately missing the yahoo bitmap for the weather as it now doesn't work. Still liking the geeklets :)
 

Attachments

  • screen.png
    screen.png
    1.2 MB · Views: 773
Well as stated, yahoo has broken our beautiful desktops. Anyone have any other suggestions?

All I could pull from the new website is this: http://l.yimg.com/os/mit/media/m/weather/images/icons/l/33n-100567.png

Give me a couple of days to polish my Ultimate Weather Script, Weather Underground and the US National Weather service sites work in that script. Both of those sites have automatic weather image download when the script is run. :)

If anyone from outside of the US has a weather site that they would prefer, let me know and I'll see about incorporating it into the script.
 
Give me a couple of days to polish my Ultimate Weather Script, Weather Underground and the US National Weather service sites work in that script. Both of those sites have automatic weather image download when the script is run. :)

If anyone from outside of the US has a weather site that they would prefer, let me know and I'll see about incorporating it into the script.

Alright, I will check back in a couple days. If you can, accuweather has some nice images, could you use those?
 
If anyone from outside of the US has a weather site that they would prefer, let me know and I'll see about incorporating it into the script.

The BBC have great bitmaps for the weather, if you could use them that would be great. bbc.co.uk/weather
 
Alright, I will check back in a couple days. If you can, accuweather has some nice images, could you use those?

The BBC have great bitmaps for the weather, if you could use them that would be great. bbc.co.uk/weather

Well, it's hard to map one sites weather icons to another. The script pulls the images from the web page it is scraping, so each service will use the images provided. I will put it down as an idea for a future release.

I'll start on adding support for Accuweather; I agree that the images are nice.

In fact, I just re-structured the entire script to make it easier to add new sites.
 
Last edited:
Anyone else's Yahoo weather script stop working? Mine downloads the weather.html file but then doesn't extract the current weather JPG anymore.

Anyone else got this?

They changed the underlying HTML source for their 5 day forecasts. My Ultimate Weather Script is now broken in regards to obtaining this set of Yahoo data.

I'm debating, again, on whether or not I should remove the support for the normal Yahoo weather from my script. The Yahoo RSS stuff still works, but the other page has a specific warning about improper use of their data.

Well as stated, yahoo has broken our beautiful desktops. Anyone have any other suggestions?

All I could pull from the new website is this: http://l.yimg.com/os/mit/media/m/weather/images/icons/l/33n-100567.png

The Yahoo one just started working again on mine. It has been stuck for the past few days but has just changed to the correct image for now.
 
The Yahoo one just started working again on mine. It has been stuck for the past few days but has just changed to the correct image for now.

I see that they put the weather site back to the old design, but my geeklets aren't working. Can someone post up the yahoo script please?
 
Last edited:
can anyone guide me in the easiest way to display a geek tool weather script with images directly from yahoo? i have no idea what i am doing wrong. nothing custom other than my location as far as fonts and images... just something easy and quick.
 
can anyone guide me in the easiest way to display a geek tool weather script with images directly from yahoo? i have no idea what i am doing wrong. nothing custom other than my location as far as fonts and images... just something easy and quick.

I see that they put the weather site back to the old design, but my geeklets aren't working. Can someone post up the yahoo script please?

As stated above, if you can wait a couple of days, an initial cut at my Ultimate Weather Script will be released. Just need to get AccuWeather parsed, and then write the tons of documentation required to use the script. The script itself is highly complex, but with the sample setups I'll provide, it should make it very easy to use.

Just so everyone knows, this is a multi-file script. I made it that way to make it easier to maintain.
 
My Ultimate Weather Script will be able to do this for certain websites when I release the code. It is currently in Beta.

thanks! let me know when its done, or if you can give me any pointers. i am using images that i have on my harddrive, and was trying to work from using the date +%A and if statements for displaying an image based on the return from the date +%A
 
I cannot get a image to show on my desktop, using Geektool 2.1.2. I have tried the file and picture sections, and it will not show in any way. IN THE IMAGE SECTION I MAY BE TYPING IT WRONG. What would I type if it is called appleribbon.jpg and is located in the main library (on my HD)
 
Hey guys,

long time no see :D

is it possible to make a geektool skript which will show me the same things which Coconut Battery can grab from the MacBook?

greets
 
Hey, so I am trying to do something similar to the weather geeklet, however instead of the weather, I am trying to display a .png based on the day of the week.

any pointers or tips to do so?

Where are you sourcing the png ? ... and all you want to do is display a different png depending upon the day of the week ?
 
Hey guys,

long time no see :D

is it possible to make a geektool skript which will show me the same things which Coconut Battery can grab from the MacBook?

greets

ok i figured it out, maybe not the best solution but it works

Code:
ioreg -w0 -l | grep DesignCapacity | awk '{ print substr($0,19,50) " mAh"}' | sed 's/"//g'
ioreg -w0 -l | grep MaxCapacity | awk '{ print substr($0,19,50) " mAh"}' | sed 's/"//g'
ioreg -w0 -l | grep CurrentCapacity | awk '{ print substr($0,19,50) " mAh"}' | sed 's/"//g'
 
Heres my desktop as it stands right now - I feel it needs something more/less but I'm not sure what. Anyone any suggestions whilst keeping the minimal look?
 

Attachments

  • Screen Shot 2012-04-24 at 21.56.38.png
    Screen Shot 2012-04-24 at 21.56.38.png
    184.7 KB · Views: 371
Last edited:
Heres my desktop as it stands right now - I feel it needs something more/less but I'm not sure what. Anyone any suggestions whilst keeping the minimal look?

I dunno. It looks good to me and the more you add to it, the more you diminish your minimalistic look.

But there are countless possibilities of this to add, such as stocks, sports scores, running processes, iTunes songs, lyrics and so on.
 
But there are countless possibilities of this to add, such as stocks, sports scores, running processes, iTunes songs, lyrics and so on.

Did I ever release the ESPN Sports Scoreboard Script or did I only send that to you to test?
Should have checked my own Google Code site... :)
 
Last edited:
Did I ever release the ESPN Sports Scoreboard Script or did I only send that to you to test?
Should have checked my own Google Code site... :)

Hmmm.... I hadn't thought of that. Oops! :eek:

BTW the weather script you helped me with a week or two ago stopped working all on it's own days after we got it going. I haven't had much time to investigate what happend though....
 
Ultimate Weather Script Beta-03

The third beta for the Ultimate Weather Script has arrived for everyone to test!

See this post for the current features. I have been updating this list with what works and what does not work.

Here is the link to the download:
http://xtacocorex-geektool-scripts.googlecode.com/files/ultimateweather_beta03.tar

Please read the README file inside the tarball, it explains everything and provides sample commands for you to pick from and modify.

This is a multi-file script, please keep everything inside the directory when extracted.

If you have no idea how to deal with a .tar file, just double click the file inside of Finder to extract. I am unable to upload .zip files to my Google Code site.

----------

BTW the weather script you helped me with a week or two ago stopped working all on it's own days after we got it going. I haven't had much time to investigate what happend though....

Well no worries, because the third beta of the Ultimate Weather script is here! (see post above)
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.