![]() |
rssparser... delicious empty - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: rssparser... delicious empty (/showthread.php?tid=16140) |
rssparser... delicious empty - El Forum - 02-25-2009 [eluser]karloff[/eluser] i'm trying to parse a couple of feeds, however the delicious feed comes back empty... can anyone spot a reason why? i'm trying to use this solution to multiple feeds http://ellislab.com/forums/viewthread/53780/P30/#281088 controller Code: $this->load->library('rssparser', 3); view Code: <ul> rssparser... delicious empty - El Forum - 02-25-2009 [eluser]pistolPete[/eluser] What CI version are you using? If you want to pass arguments to a library, you have to put them in a array since 1.7.0. rssparser... delicious empty - El Forum - 02-25-2009 [eluser]karloff[/eluser] i'm using 1.7.1 could you give me an rough example of passing it to an array and out.. ? rssparser... delicious empty - El Forum - 02-25-2009 [eluser]pistolPete[/eluser] In your above link there is already an example about how to load the library: Code: $this->load->library('RSSParser', array('url' => 'http://rss.news.yahoo.com/rss/software', 'number' => 7)); rssparser... delicious empty - El Forum - 02-25-2009 [eluser]karloff[/eluser] sorry... iwas actually just reading that.... sorry for jumping the gun and being a complete idiot.. cheers man rssparser... delicious empty - El Forum - 02-25-2009 [eluser]karloff[/eluser] hey, i'm back for 'another silly question'... probably... how can i access the array of data from my view... the print_r($delicious) is throwing up a lot of rubbish... i'm a bit lost |