Hello community. I need to load a Zend_Feed_Reader extension to read an rss
xml feed with specific namespaced elements. i.e. '<media:content>'. I
believe I've followed the manual step by step in order to do so. 

my extension class is as follows:

class Sports_FeedReader_Extension_SportsFeed_Entry
    extends Zend_Feed_Reader_Extension_EntryAbstract
{

    public function getThumbnails()
    {

    }

    protected function _registerNamespaces()
    {

    }

}


I've tried to save the class as "SportsFeed_Entry.php", "SportsFeed.php",
and "Entry.php". and then in the Bootstrap I load it like:

                if(!Zend_Feed_Reader::isRegistered('SportsFeed')) {
                        Zend_Feed_Reader::addPrefixPath(
                                'Sports_FeedReader_Extension', APPLICATION_PATH 
.
'../library/Sports/FeedReader/Extension'
                        );
                        Zend_Feed_Reader::registerExtension('SportsFeed');
                }

..which is basically straight from the manual. The error message I get is:

" 'Could not load extension: SportsFeedusing Plugin Loader. Check prefix
paths are configured and extension exists."

Any ideas on how to fix this?



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Feed-Reader-Extension-Won-t-Load-For-Some-Reason-tp4659608.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to