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; $feed = new SimplePie($feed_url); $num_posts_in_feed = $feed->get_item_quantity(); if (!$num_posts_in_feed) echo 'Cannot find feed. Check the feed url.'; ?>

get_title(); ?>

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

get_title(); ?>

' . strip_tags($item->get_description(true),'') . '
'; ?>
Posted on get_date('j F Y | g:i a'); ?>
' . elgg_echo('simplepie:notset') . '

'; } ?>