Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yii2mod/yii2-feed
social feeds widget
https://github.com/yii2mod/yii2-feed
yii2 yii2-extension yii2-feed yii2-social-feed
Last synced: about 1 month ago
JSON representation
social feeds widget
- Host: GitHub
- URL: https://github.com/yii2mod/yii2-feed
- Owner: yii2mod
- License: mit
- Created: 2015-02-04T18:37:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T16:52:04.000Z (over 8 years ago)
- Last Synced: 2024-03-15T14:16:05.642Z (8 months ago)
- Topics: yii2, yii2-extension, yii2-feed, yii2-social-feed
- Language: PHP
- Size: 8.79 KB
- Stars: 6
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Social feed widgets for Yii 2
=========[![Latest Stable Version](https://poser.pugx.org/yii2mod/yii2-feed/v/stable)](https://packagist.org/packages/yii2mod/yii2-feed) [![Total Downloads](https://poser.pugx.org/yii2mod/yii2-feed/downloads)](https://packagist.org/packages/yii2mod/yii2-feed) [![License](https://poser.pugx.org/yii2mod/yii2-feed/license)](https://packagist.org/packages/yii2mod/yii2-feed)
Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist yii2mod/yii2-feed "*"
```or add
```json
"yii2mod/yii2-feed": "*"
```to the require section of your composer.json.
-------**Configuration**
```php
//set keys at the beginning of config
\Yii::$container->set('yii2mod\feed\Twitter', [
'token' => '',
'tokenSecret' => '',
'consumerKey' => '',
'consumerSecret' => '',
]);```
**Usage**
```php
'disem',
'postsCount' => 3
]); ?>
```RSS
---
Allows to display multiple rss feeds as one**Usage**
```php
3, 'feeds' => [
'http://somerss.com/rss.xml',
'http://somerss.com/rss2.xml',
]]); ?>
```