2017 © Pedro Peláez
 

yii2-extension yii2-rss-reader

Rss reader widget for Yii2

image

tugmaks/yii2-rss-reader

Rss reader widget for Yii2

  • Monday, December 8, 2014
  • by tugmaks
  • Repository
  • 0 Watchers
  • 4 Stars
  • 399 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

Yii2 rss reader

Rss reader widget for Yii2, (*1)

Installation

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)

Usage

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

The Versions

08/12 2014

dev-master

9999999-dev

Rss reader widget for Yii2

  Sources   Download

MIT

The Requires

 

by Maxim Tugaev

extension yii2 rss rss reader