• Hi,

    I have this preset rss(feedburner) script made my producer of plugin :

    if ($rss_count != ”) $output .=
    ‘<a href=”#” class=”icon-rss”
    onclick=”return false;”>RSS’ ;

    In order for the logo to be shown on my site must meet above condition.

    I need to modify it so can be seen whatever the condition meets or not and I will add my own feeburner link here href=”#”.

    Anyone can help me ?

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alfateam

    (@alfateam)

    I have changed with :

    f (is_numeric($twitter_count)) $output .= ‘rss‘ ;

    Now logo and link is there ,

    but will not show the total count of all social subscribers ( all but rss) :

    $output .= ‘<span class=”link-readers”>’ . $total_count . ‘ Readers</span>’;

    It looks like my feedburner account does not pass this if ($rss_count != ”) . Why ? What this script say ? My feedburner its fresh made with a single subscriber. Should I activated something in my feedburner account ?

    Thread Starter alfateam

    (@alfateam)

    I think this counts rss subscribers , maybe the link is wrong ?

    if (isset($rss) && $rss != ”)

    {

    $fburl=’https://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=&#8217; . $rss;

    $ch = curl_init();

    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

    curl_setopt($ch, CURLOPT_URL, $fburl);

    $stored = curl_exec($ch);

    curl_close($ch);

    $grid = new SimpleXMLElement($stored);

    $rss_count = $grid->feed->entry[‘circulation’];

    if ($rss_count == 0) $rss_count = ”;

    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I can't manage to make one logo shown.’ is closed to new replies.