How to Have Feedflare Ignore Sticky Posts
Posted: Thu Aug 30, 2007 9:54 pm
Last little question for the day. Can someone help me to get Feedflare to ignore Sticky Posts?
I take it I need a line of code in here somewheres:
I take it I need a line of code in here somewheres:
Code: Select all
if (isset($hooks[$event])) {
switch($event) {
case 'entry_display':
if (!is_array($eventData)) return false;
$elements = count($eventData);
for ($i = 0; $i < $elements; $i++) {
if (empty($eventData[$i]['body'])) continue;
$eventData[$i]['add_footer'] .= '<script src="http://feeds.feedburner.com/~s/' . $this->get_config('feedburnerid', '') . '?i=' . serendipity_archiveURL($eventData[$i]['id'], $eventData[$i]['title'], 'baseURL', true, array('timestamp' => $entry['timestamp'])) . '" type="text/javascript" charset="utf-8"></script>';
}
return true;
break;