<?phpHeader('Content-Type: text/plain');// Get the XML data from Feedburner$sxe = new SimpleXMLElement('http://api.feedburner.com/awareness/1.0/GetFeedData?uri=ramsey', NULL, TRUE);$readers = (string) $sxe->feed->entry['circulation'];// make sure it's a number$readers = is_numeric($readers) ? $readers : '0';// 39 is the base position; 6 the width of each char$xpos = 39 - (strlen($readers) * 6);// Create the image from the base image$img = imagecreatefromgif('cisco.gif');$color = imagecolorallocate($img, 0x00, 0x66, 0xCC);imagestring($img, 2, $xpos, 2, $readers, $color);// Save the imageimagegif($img, 'cisco_output.gif');?>