{"id":12552,"date":"2010-07-09T12:59:31","date_gmt":"2010-07-09T12:59:31","guid":{"rendered":"https:\/\/www.amitbhawani.com\/blog\/?p=12552"},"modified":"2010-07-09T12:59:31","modified_gmt":"2010-07-09T12:59:31","slug":"show-google-feedburner-subscribers-count-text","status":"publish","type":"post","link":"https:\/\/www.amitbhawani.com\/blog\/show-google-feedburner-subscribers-count-text\/","title":{"rendered":"How to Show Google Feedburner Subscribers Count in Text"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Feedburner-Readers-Chicklet-Stats.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Feedburner-Readers-Chicklet-Stats-300x225.jpg?resize=300%2C225\" alt=\"Feedburner Readers Chicklet Stats\" title=\"Feedburner Readers Chicklet Stats\" width=\"300\" height=\"225\" class=\"alignright size-medium wp-image-12557\" srcset=\"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Feedburner-Readers-Chicklet-Stats.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Feedburner-Readers-Chicklet-Stats.jpg?resize=150%2C112&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Feedburner-Readers-Chicklet-Stats.jpg?w=500&amp;ssl=1 500w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>The Free feed management service from Google under the brand name is used by 95% of the bloggers all around the world and this is because its completely free and offers with nice features. One best feature is that you can display all your readers count on the blogs sidebar under the name of a badge. We had previously written a similar article on <a href=\"https:\/\/www.amitbhawani.com\/blog\/feed-readers-count-text-format\/\">How to Show Feed Readers Count in Text Format<\/a> but that was using a plugin and in this article you will have to create a simple php file and upload it and get it in working.<\/p>\n<p><a rel=\"nofollow\" href=\"http:\/\/feeds.feedburner.com\/AmitBhawani\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" style=\"border: 0;\" src=\"http:\/\/feeds.feedburner.com\/~fc\/AmitBhawani?bg=99CCFF&amp;fg=444444&amp;anim=1\" alt=\"\" width=\"88\" height=\"26\" \/><\/a>The option is available under My Feeds &gt; Publicize &gt; FeedCount &gt; Your Chicklet. There is a HTML code available which has to be copied and added on your sidebar or header or any location where you want to display this badge which is updated every 24 hours with the new number of readers. The only option feedburner offers is different styles of Static &amp; Animated but the same size of chicklet is available and you cannot customize it, hence its better to try out a text version of the same where in we would be importing the numbers count and then displaying them in Plain Text format.<\/p>\n<p>Before we get started into the process you need to Enable The Awareness API which is available under the Publicize > Awareness API > Allow external access to my traffic data. Once this is done the API allows you to display the feeds traffic data in anyway you would like to, rather than the default chicket option. Next you need to create a php file using the following code and then upload to the themes folder under the currently active theme. Make a note that you save this file as feedcounter.php and upload in the theme folder correctly. Do change the uri= to your feedburner feed name.<\/p>\n<p><code>&lt;?php<br \/>\n$feedcount = get_option(&quot;feedrsscount&quot;);<br \/>\nif ($feedcount[&#39;lastcheck&#39;] &lt; (mktime()-3600)) {<br \/>\n\/\/get cool feedburner count<br \/>\n$whaturl=https:\/\/feedburner.google.com\/api\/awareness\/1.0\/GetFeedData?uri=AmitBhawani;<br \/>\n\/\/Initialize the Curl session<br \/>\n$ch = curl_init();<br \/>\n\/\/Set curl to return the data instead of printing it to the browser.<br \/>\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);<br \/>\n\/\/Set the URL<br \/>\ncurl_setopt($ch, CURLOPT_URL, $whaturl);<br \/>\n\/\/Execute the fetch<br \/>\n$data = curl_exec($ch);<br \/>\n\/\/Close the connection<br \/>\ncurl_close($ch);<br \/>\n$xml = new SimpleXMLElement($data);<br \/>\n$fb = $xml-&gt;feed-&gt;entry[&#39;circulation&#39;];<br \/>\n$feedcount[&#39;count&#39;] = number_format($fb);<br \/>\n\/\/end get cool feedburner count<br \/>\n$feedcount[&#39;lastcheck&#39;] = mktime();<br \/>\nupdate_option(&quot;feedrsscount&quot;,$feedcount);<br \/>\n}<br \/>\necho $feedcount[&#39;count&#39;];<br \/>\n?&gt;<\/code><\/p>\n<p>Next you will have to import this file using a import codde and display it at any location of your choice. Lets say you would like to show the feed readers count on the sidebar, just add the following line through your theme files along with any suffix or prefix like : Our Readers &#8211; <\/p>\n<p><code>&lt;?php include(%u201Cfeedcounter.php%u201D); ?&gt;<\/code><\/p>\n<p>A very simple and useful way on displaying your number of subscribers to the feed in a text format rather than the same boring chicklet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Free feed management service from Google under the brand name is used by 95% of the bloggers all around the world and this is because its completely free and offers with nice features. One best feature is that you can display all your readers count on the blogs sidebar under the name of a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":19913,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[970],"tags":[],"class_list":{"0":"post-12552","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-web-blogging","8":"entry"},"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/12\/Feedburner-Readers-Chicklet-Stats-300x225.jpg?fit=300%2C225&ssl=1","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":8625,"url":"https:\/\/www.amitbhawani.com\/blog\/show-latest-google-buzz-posts-on-wordpress-blog-sidebar\/","url_meta":{"origin":12552,"position":0},"title":"Show Latest Google Buzz Posts on WordPress Blog Sidebar","author":"Amit Bhawani","date":"February 22, 2010","format":false,"excerpt":"Google Buzz, the service which is integrated into Gmail allows you to publish latest updates similar to what Twitter offers but offers you with no limits, Images & Videos etc. This service can also be considered similar to Yahoo Meme whose updates were also shown on wordpress. The plugin can\u2026","rel":"","context":"In &quot;Wordpress Guide&quot;","block_context":{"text":"Wordpress Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/wordpress\/"},"img":{"alt_text":"Google Buzz Feed","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/02\/Google-Buzz-Feed.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12901,"url":"https:\/\/www.amitbhawani.com\/blog\/feedburner-to-aweber\/","url_meta":{"origin":12552,"position":1},"title":"Switched to Aweber Blog E-Mail Subscription from Feedburner","author":"Amit Bhawani","date":"July 30, 2010","format":false,"excerpt":"Here is a quick update to all our readers. From the past 2 years we were serving daily emails to our Blog Subscribers through the Google Feedburner Service which is a decent service for the initial stage of blogging because its completely free & easy service. After a few years\u2026","rel":"","context":"In &quot;Blogging&quot;","block_context":{"text":"Blogging","link":"https:\/\/www.amitbhawani.com\/blog\/category\/web-blogging\/"},"img":{"alt_text":"aweber","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/aweber.gif?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":8896,"url":"https:\/\/www.amitbhawani.com\/blog\/tips-make-visitors-subscribe-increase-blog-feed\/","url_meta":{"origin":12552,"position":2},"title":"How to Make Visitors Subscribe to your Blog Feed","author":"Amit Bhawani","date":"March 1, 2010","format":false,"excerpt":"Getting visitors to your blog is quite a hard task but making them subscribe to your blog's feed is lot more harder because you can either use the Social Media or Implement Search Engine Optimization tricks to get visitors to your blog but how are you going to make them\u2026","rel":"","context":"In &quot;Blogging&quot;","block_context":{"text":"Blogging","link":"https:\/\/www.amitbhawani.com\/blog\/category\/web-blogging\/"},"img":{"alt_text":"Rss Feed Icons","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/02\/Rss-Feed-Icons.jpg?fit=452%2C441&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":15971,"url":"https:\/\/www.amitbhawani.com\/blog\/track-website-visitors\/","url_meta":{"origin":12552,"position":3},"title":"How to Track Website Visitors &#8211; Best Tools &#038; Services","author":"Yogesh Patel","date":"October 29, 2010","format":false,"excerpt":"If you have a website or blog, then it would be really important for you to know who are you visitors. Just would like to have the results of your work and the result are you visitors. So how would you track down your visitors, their details. Knowing the visitors\u2026","rel":"","context":"In &quot;How to Guide&quot;","block_context":{"text":"How to Guide","link":"https:\/\/www.amitbhawani.com\/blog\/category\/how-to\/"},"img":{"alt_text":"awstats","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/10\/awstats-300x67.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12348,"url":"https:\/\/www.amitbhawani.com\/blog\/monthly-income-report-june-2010\/","url_meta":{"origin":12552,"position":4},"title":"Monthly Blogging Income Report June 2010 &#8211; $14,115","author":"Amit Bhawani","date":"July 1, 2010","format":false,"excerpt":"After a lot of requests to publish the Monthly Income Reports, i went ahead and planned to publish these reports once in a while. In this article you will be finding out few reports which can help you guys in understanding the money blogging can pay you and the amount\u2026","rel":"","context":"In &quot;Make Money Online&quot;","block_context":{"text":"Make Money Online","link":"https:\/\/www.amitbhawani.com\/blog\/category\/make-money-online\/"},"img":{"alt_text":"Monthly Income Report","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/07\/Monthly-Income-Report.jpg?fit=380%2C285&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":16118,"url":"https:\/\/www.amitbhawani.com\/blog\/display-latest-ebay-sale-listings-blog-sidebar-posts\/","url_meta":{"origin":12552,"position":5},"title":"How do i display latest eBay Sale listings on Blog Sidebar or within Posts","author":"Amit Bhawani","date":"November 2, 2010","format":false,"excerpt":"I have started selling products on eBay from the past few days and now i wanted to increase the sales by promoting the listings through my WordPress based blog. Please do a research and tell me how can I display my current ebay listings into a page(pages) of my site.\u2026","rel":"","context":"In &quot;Web Tools&quot;","block_context":{"text":"Web Tools","link":"https:\/\/www.amitbhawani.com\/blog\/category\/web-tools\/"},"img":{"alt_text":"eBay Listing WordPress Widgets","src":"https:\/\/i0.wp.com\/www.amitbhawani.com\/blog\/wp-content\/uploads\/2010\/11\/eBay-Listing-WordPress-Widgets-300x259.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/12552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/comments?post=12552"}],"version-history":[{"count":0,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/posts\/12552\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media\/19913"}],"wp:attachment":[{"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/media?parent=12552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/categories?post=12552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amitbhawani.com\/blog\/wp-json\/wp\/v2\/tags?post=12552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}