2017 © Pedro Peláez
 

library rss-feed-finder

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

image

ruigomeseu/rss-feed-finder

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

  • Thursday, September 15, 2016
  • by ruigomeseu
  • Repository
  • 1 Watchers
  • 2 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

RSS Feed Finder

Latest Version Software License Build Status StyleCI, (*1)

This package provides an easy way to extract RSS/Atom feeds from any URL., (*2)

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:, (*3)

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:, (*4)

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

You can now search that URL for feeds using:, (*5)

$feeds = $feedFinder->find();

Changing the initial URL

You can change the initial URL by using:, (*6)

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

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

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

Author

Rui Gomes
https://ruigomes.me, (*8)

License

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

The Versions

15/09 2016

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rui Gomes

search atom feed rss scraper finder

15/09 2016

0.1.0

0.1.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Rui Gomes

search atom feed rss scraper finder