dev-master
9999999-devRss reader widget for Yii2
MIT
The Requires
by Maxim Tugaev
extension yii2 rss rss reader
Rss reader widget for Yii2
Rss reader widget for Yii2, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist tugmaks/yii2-rss-reader "*"
or add, (*4)
"tugmaks/yii2-rss-reader": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?php echo \tugmaks\RssFeed\RssReader::widget([ 'channel'=>'http://example.com/feed.xml', 'pageSize' = 5, 'itemView' = 'item', //To set own viewFile set 'itemView'=>'@frontend/views/site/_rss_item'. Use $model var to access item properties 'wrapTag' = 'div', 'wrapClass' = 'rss-wrap', ]); ?>
Rss reader widget for Yii2
MIT
extension yii2 rss rss reader