emsf14/rss
最新稳定版本:v3.0
Composer 安装命令:
composer require emsf14/rss
包简介
Simple Pie wrapper
关键字:
README 文档
README
This is a Simple Pie wrapper that makes it easy to display RSS feeds. You can even merge multiple feeds into one. Installation
Using Composer and Packagist, it's easy to get started. Simply add the following to your composer.json file:
"require": {
"emsf14/rss": "dev-master"
},
After using Compser to install the package, you can find it in your vendor directory, ready for use. In the webroot subfolder you'll find a simple working example. Important! The cache-folder needs to be writeable.
All you need to do to display a feed is to instantiate the CRSS class with an array of one or more RSS feed URls. Then call the metod "printFeed", it returns a string containing the feed.
$feed = new \Emsf14\library\CRSS([
'http://feeds.bbci.co.uk/news/rss.xml'
]);
echo $feed->printFeed();
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-11-25