emsf14/rss 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

emsf14/rss

最新稳定版本:v3.0

Composer 安装命令:

composer require emsf14/rss

包简介

Simple Pie wrapper

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage

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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-25