Do It My Way or die trying!
Read feedburner awareness api using php simplexml_load_file()
hi cheap Drugstore all,
this is a simple php script to retrieve and read feedburner awareness xml file.
it is based on simplexml_load_file() function.
all what you need to do is changing the $title variable. all the best.
< ?php $title="Dimw"; $apicall="https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=".$title; $xml = simplexml_load_file($apicall); echo "URI: ".$xml->feed['uri']; echo "DATE: ".$xml->feed->entry['date']; echo "CIRCULATION: ".$xml->feed->entry['circulation']; echo "HITS: ".$xml->feed->entry['hits']; echo "REACH: ".$xml->feed->entry['reach']; ?>
Related posts: