pluginspath . '/simplepie/simplepie.inc'; } $feed_url = $vars['entity']->feed_url; if($feed_url){ $excerpt = $vars['entity']->excerpt; $num_items = $vars['entity']->num_items; $post_date = $vars['entity']->post_date; echo $feed_url; $feed = new SimplePie(); $feed->set_feed_url($feed_url); //$feed->set_autodiscovery_level(SIMPLEPIE_LOCATOR_ALL); $feed->init(); $feed->handle_content_type(); echo $post_date; echo $feed->get_item_quantity(); ?>

get_title(); ?>


$feed->get_item_quantity()) $num_items = $feed->get_item_quantity(); foreach ($feed->get_items(0,$num_items) as $item): ?>

get_title(); ?>

' . $item->get_description(true) . '

'; ?>

Posted on get_date('j F Y | g:i a'); ?>

' . elgg_echo('simplepie:notset') . '

'; } ?>