Join for FREE | Take the Tour Lost Password?
Shop deviantART for the
holidays and save BIG!
Click here! :holly:
[x]

deviantART

:date:
 
©2009 ~Camxso
:iconcamxso:

Artist's Comments

Modification of BowTie Themes Geeky and Serial Killer.

Comments


love 0 0 joy 2 2 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconhenftling:
wow...how did you managed to get the weather picture displayed?
:iconcamxso:
Using Geektool's link to an image, I placed this altered .php code onto my personal server and then linked to it.

<?php
/* Be Sure to replace CITYDATA in $url with your own city from Yahoo */

$url="http://weather.yahoo.com/forecast/USAL0356.html";

$ch = curl_init();
$timeout = 0; // set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);

$divStart = "<div class=\"forecast-icon\"";
$strEnd = "';); _background-image/* */: none;";
$start = strpos($file_contents, $divStart) + 50;
$end = strpos($file_contents, $strEnd);
$length = $end-$start;

$imagepath=substr($file_contents, $start , $length);
$image=imagecreatefrompng($imagepath);


imagealphablending($image, true);
imagesavealpha($image, true);
header('Content-Type: image/png';);
imagepng($image);
?>

If you would like to do the same, copy everything from the start <?php and paste it into a text file which you must change the file type to be .php, upload it wherever you can get the direct link and then use the link in Geektool, Easy. Don't forget to change your city code. Cheers, Camxso
:icontigz54:
beautiful. how did you change the font on the bowtie theme? all I get is an ugly serif font ><

--
~Tigz~
My Blog: [link]
My Galley: [link]
:iconhenftling:
wow, thank you, will try to get the php script working on mobile me - thank you very much !
:iconcamxso:
First, go to home/library/application support/bowtie/
Find the Geektool.BowTie Theme and right click to show package contents. Open the .html file in a text editor and where 'Helvetica Neue LT' is, put whatever font that you'd prefer and have installed on your system. Save it and close. Double-Click the new saved BowTie theme and it should reinstall the good one. Quit BowTie and restart, Voila!

The reason yours is showing up as a different font is because you don't have Helvetica Neue LT installed.

You can download the Helvetica Neue Light font from this link for free.

[link]

Cheers and Enjoy! Camxso
:icontigz54:
ahh gotcha thanks... I was having troubles before because it didn't want to let me save directly to the package. is there a way to do that?

--
~Tigz~
My Blog: [link]
My Galley: [link]
:iconcamxso:
If you have it opened in a text editor then save, it should let you without any problems. If so, pull the .theme out of it's file onto the desktop and show package contents there and change it there, then save it. Get info and make sure it's not locked or that you have write privileges to it and all should go as planned.

Details

June 13
294 KB
274 KB
925×600

Statistics

8
5 [who?]
4,469 (30 today)
532 (3 today)

Share

Link
Embed
Thumb

Site Map