i’m trying to load my del.icio.us feed into my blog and was checking out the library in the wiki section, however i keep coming up with this error
Parse error: syntax error, unexpected ‘;’, expecting T_PAAMAYIM_NEKUDOTAYIM in C:\xampplite\htdocs\ci\system\libraries\RSSParser.php on line 43
i took straight from the wiki, so wondering where i must have gone wrong, anyone point me in the right direction?
controller
$this->load->library('RSSParser', array('url' => 'http://test/rss/rss', 'life' => 2));
$rss = $this->rssparser->getFeed(10);
view
<?php foreach ($rss as $item) : ?>
<li><?=$item['title']?></li>
<?php endforeach; ?>
