ruigomeseu/rss-feed-finder 问题修复 & 功能扩展

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

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

ruigomeseu/rss-feed-finder

Composer 安装命令:

composer require ruigomeseu/rss-feed-finder

包简介

Find and extract any RSS or ATOM feeds in a URL or domain

README 文档

README

Latest Version Software License Build Status StyleCI

This package provides an easy way to extract RSS/Atom feeds from any URL.

use RuiGomes\RssFeedFinder\FeedFinder;

$feedFinder = new FeedFinder('https://9to5mac.com');

$feeds = $feedFinder->find();

//$feeds will contain ["https://9to5mac.com/feed/", "https://9to5mac.com/comments/feed/"]

Install

You can pull in the package via composer:

composer require ruigomeseu/rss-feed-finder "~0.1"

Usage

Create a new FeedFinder instance and pass in the URL you'd like to extract feeds from:

$feedFinder = new FeedFinder('https://9to5mac.com');

You can now search that URL for feeds using:

$feeds = $feedFinder->find();

Changing the initial URL

You can change the initial URL by using:

$feedFinder->setUrl('http://www.nytimes.com');

The setUrl() function allows for method chaining so you can do something like this:

$feeds = $feedFinder->setUrl('http://www.nytimes.com')->find();

Author

Rui Gomes
https://ruigomes.me

License

The MIT License (MIT). Please see LICENSE file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固