/ Published in: PHP
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"
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
Copy this code and paste it in your HTML
<?php $url = "https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=yourURIhere"; if ($data) { if ($matches[1] != 0) $fb['count'] = $matches[1]; update_option("feedburnersubscribecount",$fb); } echo $fb['count'].' Readers!'; ?>
URL: http://yoast.com/feedburner-subscription-feedproxy-google/