<img class="aligncenter" src="http://hongkiat published here.s3.amazonaws.com/feedburner/text-feedcount.jpg” alt=”text feedcount” />

I believe you’ve seen websites and blogs that uses the text-based Feedburner subscriber


count
instead of the chicklet. I hope you are not getting the idea the these guys update their feed

count manually. Instead, it can be done easily with scripts, and the reason why you want to do is – it gives you total flexibility in terms of design, styling and display.

Step 1

Copy paste the following code into your template, replace feedburner-id with your Feedbuner username. This script will grab you the

feed

count in numbers.

  1. //get cool feedburner 
    count
  2. $whaturl=“http://api.feedburner.com/awareness/1.0/GetFeedData?uri=feedburner-id”;
  3. //Initialize the Curl session
  4. $ch = curl_init();
  5. //Set curl to return the data instead of printing it to the browser.
  6. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  7. //Set the URL
  8. curl_setopt($ch, CURLOPT_URL, $whaturl);
  9. //Execute the fetch
  10. $data = curl_exec($ch);
  11. //Close 
    the connection
  12. curl_close($ch);
  13. $xml = new SimpleXMLElement($data);
  14. $fb = $xml->feed->entry[‘circulation’];
  15. //end get cool feedburner 
    count
//get cool feedburner count

$whaturl="http://api.feedburner.com/awareness/1.0/GetFeedData?uri=feedburner-id";

//Initialize the Curl session
$ch = curl_init();

//Set curl to return the data instead of printing it to the browser.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

//Set the URL
curl_setopt($ch, CURLOPT_URL, $whaturl);

//Execute the fetch
$data = curl_exec($ch);

//Close the connection
curl_close($ch);
$xml = new SimpleXMLElement($data);
$fb = $xml->feed->entry['circulation'];
//end get cool feedburner 
count

Step 2

Paste this anywhere you want and it’ll display a Feedburner

subscriber

count in text.

  1. echo $fb;
echo $fb;

To style it nicely with your website or blog’s theme, add or and tweak the CSS accordingly.

Disclaimer:

The following requires a basic understanding of where to place php code in your template and works on servers with PHP 5. Also, whenever working with files ALWAYS back them up before modifying them.
How To Get That Feedburner Count As Text Only

Overview

Make a call to the Feedburner API requesting the feedcount for a given burned feed.

Topik-topik yang berkaitan:

Beauty Marks Sequins Lipstick Shaped PEN – buy it now @ Amazon.com
Fun &amp; Functional BEAUTY MARKS Lipstick shaped pen – looks like lipstick …

Make Money by Promoting Tradekey.com

With the Affiliate Program, now you can earn money by promotin…

Shareapic.net – Where Sharing Is Rewarded
Shareapic allows users to upload and host pictures for free. But unlike many o…

Should you change your mind to BANNED Google ADSENSE?
Lets face it – Many.. Oh wait! Not many.. Almost all webmasters/bloggers believe…

Topik-topik yang berkaitan:

Watch Full Movie Online Kingsman: The Golden Circle (2017)
Kingsman: The Golden Circle (2017)Duration141 minsGenreAction, Adventure, Comedy...
Thor: Ragnarok (2017) Full [Movie] Free
Thor: Ragnarok (2017)DirectorTaika Waititi.ProducerKevin Feige.Production Compan...
It’s Now to turn your PC into Cash Machine part 2
Gomez Peer: Get Paid to Do Nothing Online! GomezPeer is around for a couple of ...
Explode your blogs with this 12 tricks and automate your income
After get involved in blogging industries, make some research about blogging tip...