/ Published in: PHP
URL: http://yoast.com/feedburner-subscription-feedproxy-google/
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"
Expand |
Embed | Plain Text
<?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) { if ($matches[1] != 0) $fb['count'] = $matches[1]; update_option("feedburnersubscribecount",$fb); } ?>
You need to login to post a comment.
