Oh and one more Hack


Here is a tiny Wordpress hack that I wrote for myself that some other mac users out there might like to use.

This hack will take the file created by Kung-Tunes and parse it.  Just add this to your my-hacks.php.

function display_tunes() { $fp=fopen("trackinfo.txt","r"); $track=fgets($fp,1024); echo "$track"; fclose($fp); }

Pretty easy really.  Make sure to change the name of the file being called if it isn't trackinfo.txt.

Here is a handy dandy plugin file for WordPress 1.2+