tugmaks/yii2-rss-reader Rss reader widget for Yii2

extensionrssrssreader

Yii2 rss reader

Rss reader widget for Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist tugmaks/yii2-rss-reader "*"

or add

"tugmaks/yii2-rss-reader": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?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',
]);
 ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
4 github stars & 5 github forks
0 downloads in the last day
1 downloads in the last 30 days
604 total downloads