protein/rssfeed
Composer 安装命令:
composer require protein/rssfeed
包简介
Simple Pie wrapper to display rss feeds
README 文档
README
PHP class to load and display Rss feeds. This php class also contains SimplePie. http://simplepie.org/
By Guanglei Huang, guanglei.huang@gmail.com
This PHP class has three main functions: to show a latest feed by singleRss(), display a list of recent rss feeds by nopicRss(), and a list of recent rss feeds together with a thumbnail picture by picRss().
Setup
-
Clone a version of Anax-MVC from https://github.com/mosbth/Anax-MVC.git
-
Modify composer.json by adding the required files: "require": { "protein/rssfeed": "dev-master" } }
-
Install Rssfeed with composer by using the update commands: composer update --no-dev
-
Create the metod "picRss", it returns a string containing the rss feed with picutres. $feed = new Protein\Rssfeed\Rssfeed([ 'http://www.aftonbladet.se/rss.xml' ]); echo $feed->picRss();
License
This software is free software and carries a MIT license.
History
v1.0 (latest)
.
..: Copyright (c) Guanglei Huang, 2014
guanglei.huang@gmail.com
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-12-15