davidjeddy/yii2-rss-reader RSS reader widget for Yii2

Yii2 RSS Reader

  1. Badges
  2. Installation
  3. Usage

RSS reader widget for Yii2.

Badges

SensioLabsInsight Latest Stable Version Latest Unstable Version License Total Downloads Monthly Downloads Daily Downloads

Installation

The preferred way to install this extension is through composer.

Either run

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

or add

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

to the require section of your composer.json file.

Usage

Once the widget is installed, add it to a view script:

echo \davidjeddy\RssFeed\RssReader::widget([
    'channel'   => '{source_url}/feed.xml',
    'itemView'  => 'item',
    'pageSize'  => 5,
    'wrapClass' => 'rss-wrap',
    'wrapTag'   => 'div',
]);
0 0
3 followers
741 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: Others
Developed by: David J Eddy
Created on: Apr 10, 2018
Last updated: (not set)
Packagist Profile
Github Repository

Related Extensions