Yii 1.1: yii-simplepie

yii-simplepie is a yii extension for parse rss feeds
2 followers

...overview of the extension...

Requirements

...requirements of using this extension (e.g. Yii 1.1 or above)...

Usage

Config:

    'simplepie' => array(
        'class' => 'ext.simplepie-library.bootstrap'
    ),

Controller:

 $feed = Yii::app -> simplepie->config(array(
        'set_feed_url' => $rssFeed,
        'enable_cache' => true,
        'set_cache_location' => Yii::app()->runtimePath . DIRECTORY_SEPARATOR . 'cache'
    ))->parse();

 $feeds = $feed->items;

Resources

Github:https://github.com/zhebegin/yii-simplepie/

Total 1 comment

#18928 report it
Shahir R. Ali at 2015/02/05 03:57am
sample code

an example of how the view should look like would help

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet