Welcome Guest, Not a member yet? Register   Sign In
rss problem
#6

[eluser]karloff[/eluser]
thought i would bring this one back up, sorry for the delay but other duties were called upon.

I started building a new personal site which i'm looking to integrate my feeds from lastfm and delicious, however I seem to get a blank page.

when i print_r($rss);

it is a blank array? Can anyone have a look at my code and see if i'm missing something?
Code:
controller;

      $this->load->library('RSSParser', array('url' => 'http://feeds.delicious.com/rss/theblackcat', 'life' => 2));
      //Get six items from the feed
      $data['rss'] = $this->rssparser->getFeed(10);
    $this->load->view('test_view', $data);


view;

foreach ($rss as $item) :

    echo $item['title'];
    

  endforeach;


Messages In This Thread
rss problem - by El Forum - 07-08-2008, 01:53 PM
rss problem - by El Forum - 07-09-2008, 05:36 AM
rss problem - by El Forum - 07-09-2008, 07:27 AM
rss problem - by El Forum - 07-09-2008, 02:00 PM
rss problem - by El Forum - 07-09-2008, 06:29 PM
rss problem - by El Forum - 09-17-2008, 07:03 AM
rss problem - by El Forum - 09-17-2008, 07:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB