Quantcast
Viewing latest article 4
Browse Latest Browse All 25

Zend_Feed_Reader Not supported Schema

I'm using Zend FW and wanted to make a feed reader. I did the following:

$feed = Zend_Feed_Reader::import('feed://blog.lookup.cl/?feed=rss2');    $data = array('title'        => $feed->getTitle(),'link'         => $feed->getLink(),'dateModified' => $feed->getDateModified(),'description'  => $feed->getDescription(),'language'     => $feed->getLanguage(),'entries'      => array(),    );    foreach ($feed as $entry) {        $edata = array('title'        => $entry->getTitle(),'description'  => $entry->getDescription(),'dateModified' => $entry->getDateModified(),'authors'       => $entry->getAuthors(),'link'         => $entry->getLink(),'content'      => $entry->getContent()        );        $data['entries'][] = $edata;    }

And it throws the following exception: Scheme "feed" is not supported

The blog was made using Wordpress.

What's wrong? If "feed it's not supported", how can I change the type of feed that Wordpress does?

Thanks in advance,

Take care,


Viewing latest article 4
Browse Latest Browse All 25

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>