norikt / feedseek
A simple Auto-discovering feed links tool/library for PHP
0.0.1
2014-10-21 09:10 UTC
Requires
- php: >=5.4.0
- fabpot/goutte: v2.0.2
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-06-04 01:07:54 UTC
README
A simple feed link Auto-discovering tool for PHP
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