Skip to content

norikt/feedseek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feedseek

A simple feed link Auto-discovering tool for PHP

Build Status

Requirements

  • php>=5.4

Installation

via composer

$ composer require norikt/feedseek dev-master

Usage

example:

<?php

Feedseek::find('http://www.example.com/');
// ['http://www.example.com/rss', 'http://www.example.com/atom']

Feedseek::find(['http://www.example.com/','http://www.example2.com/']);
// ['http://www.example.com/' => [...],	'http://www.example2.com/' => [...],]

If you set to true second argument and returns the only link that has passed through the Feedvalidation of W3C.

<?php

Feedseek::find('http://www.example.com/', true)

License

MIT

About

A simple feed link Auto-discovering tool for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages