Feedburner Issue
-
This is not exactly wordpress related, but it does have something to do with it in a way.
Alright, so a week ago I was using this code to display my feedburner number as plain text (so I don’t have to use a chicklet):
<?php //get cool feedburner count $whaturl="https://api.feedburner.com/awareness/1.0/GetFeedData?uri=forthelose"; //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 ?>
It was working good, locally and live. I then sent the theme to my client and he applied it to his site, but his feedburner account is displaying 0. I then checked my copy of the theme on my live test site, and it was displaying 0 aswell. (They’re both pointing at the same feedburner ID).
Since it is known for a fact the number should be in the 1,000s like it was before (chicklets/his account say so), why is it now displaying 0?Thing is, it was JUST working a week ago, and the code was not tampered with, I think.
Any ideas?
- The topic ‘Feedburner Issue’ is closed to new replies.