public static function parseTagPlugin(&$feedtagResults, &$count, &$feed_list, &$feed_update) { // get all feeds which have been created since last upload foreach ($feedtagResults['Feed'] as $key => $value) { if ($count == 0) { $feed_list[$value->id] = $count + 1; $feed_update['content'][] = (string) FeedV::getHTML($value); $feed_update['id'][] = (string) $value->id; } else { if (isset($feed_list[$value->id]) && $feed_list[$value->id] == $count) { $feed_list[$value->id]++; $feed_update['content'][] = (string) FeedV::getHTML($value); $feed_update['id'][] = (string) $value->id; } else { unset($feed_list[$value->id]); } } } }