Youtube Custom Player

Posted in Uncategorized | Leave a comment

Twitter Feed Code

I have a cron job run this script every 15 minutes or so.

// Geoffrey Chandler 10/31/2010
// Feel free to use and modify as you see fit
// www.counterfeitgirlscoutcookies.com/

// The twitter feed I want
$twitter_feed_url = 'http://twitter.com/statuses/user_timeline/driftlive.rss?count=2';

// Let's save our results locally so we don't need to run this scrip everytime we have a new page visitor
$twitter_cache_file = 'twitter_cache.xml';

// Talk to twitter and get the goods
$session = curl_init($twitter_feed_url);
curl_setopt($session, CURLOPT_HEADER, false);
curl_setopt($session, CURLOPT_RETURNTRANSFER, true);
$xml = curl_exec($session);
curl_close($session);

// write the goods down to a local file that can be used by our java
$tempfilename = 'temp_twitter_cache.xml';
@unlink($tempfilename);
$tempfile = fopen($tempfilename, 'w');
if (!$tempfile){
echo 'abort page write';
}
fwrite($tempfile, $xml);
fclose($tempfile);

$ok = copy($tempfilename, $twitter_cache_file);
unlink($tempfilename);

?>

Posted in Uncategorized | Leave a comment

Facebook + Twitter + Website = Online Trifecta

I was motivated last night to begin an exploration of building a social web presence that is based not on syndication across mediums, but rather by carefully constructed compliment. When I finally woke up with morning around noon, I realized that it is far more reasonable that I will spend the afternoon cleaning around the house and playing a few rounds to Wings of Liberty. Platinum class is so close I can taste it.

At least I found a vector file for the facebook logo.

Posted in Uncategorized | Leave a comment

WordPress on iPad

Just installed the native WordPress app in my iPad, so consider this a test post.

Mortal Kombat hits a new level of M

Posted in Uncategorized | Leave a comment

Alice in Wonderland is a good place to start

Posted in Uncategorized | Leave a comment

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!

Posted in Uncategorized | 1 Comment