New Script: StatsBurner (Feedburner Statistics)

I started on this script back in December of 2007. It worked back then but I always wanted to create a PHP 4 version as well but never got around to it. I found it recently and fixed it up with more PHP 5 goodness and fixed all the Awareness API errors. Its pretty simply, it just grabs your statistics over certain dates and ranges.StatsBurner v2.2http://www.milesj.me/resources/script/statsburner

  • Grabs statistics from Feedburners Awareness API
  • Grabs the circulation count and hits count
  • Settings to use the cURL module
  • Settings to check for overlapping date ranges / duplicate dates
  • Ability to define date ranges and discrete dates
  • Can build local XML files for faster parsing (Good with cron jobs)
  • Utilizes a singleton pattern

Quick example: http://feeds.feedburner.com/starcraft$stats = StatsBurner::getInstance()->getStats('starcraft');

Array (
[id] => t4frmvjinetsgepjjci8m5f5i8
[uri] => starcraft
[api] => https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=starcraf...
[circulation] => 1003
[hits] => 6682
[downloads] => 0
[reach] => 174
[dates] => 2009-09-05,2009-10-05
)