Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Feedburner Circulation

Returns your Feedburner Circulation Count. Reduces the Feedburner API calls by updating hourly and serving a database cached result in between.

Returns a database stored Feedburner Circulation Count in plain text or number format. Reduces the Feedburner API calls by only updating the circulation count hourly and serving a database cached result in between. The account you're attempting to get a "Circulation Count" from must have the awareness API turned on.

You can use the function <?php circulation_count( $ids, $default, $echo, $format ); ?> in your theme files. The following is an explanation of the parameters the function excepts.

  • @param array $ids an array of Feedburner Feed IDs
  • @param int $default your fallback circulation count during a zero result: default 0
  • @param bool $echo return or echo: default true (echo)
  • @param bool $format return as plain integer or number formatted: default true (number format)

For example, if I was Psdtuts+ and wanted to echo out a circulation count that had a fallback or default circulation count in the unlikely event nothing is stored in the database or there is a weird zero result returned, I would do the follow.

<?php circulation_count( 'psdtuts', 15000 ); ?>

If I wanted to save the count to a variable as a plain integer that I could add to another count or something similar I would do this.

<?php $circulation_count = circulation_count( 'psdtuts', 15000, false, false ); ?>

If I wanted to echo a formatted count form an array of $ids with a fallback, I would do this.

<?php circulation_count( array('psdtuts', 'nettuts'), 200000 ); ?>

Requires: 2.7 or higher
Compatible up to: 3.0.5
Last Updated: 2010-12-6
Downloads: 8,465

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
100,1,1
100,3,3