maof14/crssfeed 问题修复 & 功能扩展

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

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

maof14/crssfeed

Composer 安装命令:

composer require maof14/crssfeed

包简介

PHP class for displaying a RSS feed

README 文档

README

PHP module class to get content of one or more RSS feeds. This repository also contains SimplePie. See information and license on that in the SimplePie dir.

By Mattias Olsson (maof14)

Installation

To implement crssfeed on your site, get a copy of this repository using git clone.

Make sure you have a path for the cache available at the defined location, if you do not want the feed to download new information on each request. Using a cache is better for your system performance. You can adjust this path in the module file, CRSSFeed.php.

Initialize a new instance of the module, sending in a adress to a RSS-feed to the constructor, and a duration for the cache if you like.

Next, echo the method getFeed() on the object to display the feed.

Example:

$feed = new CRSSFeed(  
	[  
		"http://addresstofeed.com/rss",  
		"http://addresstoanotherfeed.com/rss"  
	]  
);  
echo $feed->getFeed();  

Licence

This software is free software and carries a MIT license.

History

v0.1.0 (first version)

  • Base functionality.

Copyright (c) Mattias Olsson, 2014 mattias.olsson@hotmail.se

Build Status Scrutinizer Code Quality Code Coverage

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固