Revision: 19271
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 20, 2009 06:48 by jeeremie
Initial Code
<?php $url = "https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=yourURIhere"; $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); $data = curl_exec($ch); curl_close($ch); if ($data) { preg_match('/circulation=\"([0-9]+)\"/',$data, $matches); if ($matches[1] != 0) $fb['count'] = $matches[1]; $fb['lastcheck'] = mktime(); update_option("feedburnersubscribecount",$fb); } echo $fb['count'].' Readers!'; ?>
Initial URL
http://yoast.com/feedburner-subscription-feedproxy-google/
Initial Description
Add your feedburner count text only to your site. Check Google code for Feedburner Awareness API: http://code.google.com/apis/feedburner/awareness_api.html Replace "yourURIhere" with your URI. To find it, go to Feedburner dashboard and click "Edit Feed Details. You will see something like this: Feed Address: http://feeds.feedburner.com/web-kreation/IaJu (Your FeedBurner feed) In this example, the URI is "web-kreation/IaJu"
Initial Title
Add feedburner count to your site - text only
Initial Tags
Initial Language
PHP