Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christoph Dorn's Blog:
Your Mac can talk FeedBurner stats via PHP!
Sep 18, 2008 @ 17:35:39

In a recent post to his blog Christoph Dorn shows off a cool little trick to getting your Mac to respond to your (vocal) request for website stats from FeedBurner.

You have a blog and you are proud of it. Your sense of self-worth depends on how many people are following it. Making a detour to FeedBurner every day (the feed stats only update once a day) to check on your vitals is simple and does not take long (with a bookmark) but there has to be a more automated way.

His better way involves tying together the speech recognition that OS X offers, the "say" command line tool and a PHP5 script that can go out and read/parse the FeedBurner XML information for your website. Throw in a little command line script and some set up in the Speech tools and you have a handy little script that can fetch your latest stat information just from your request.

tagged: feedburner statistics mac osx php5 xml simplexml

Link: