Skip to content

ExtractContent for PHP7. Extract web article tool.

License

Notifications You must be signed in to change notification settings

sters/extract-content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExtractContent

CircleCI

ExtractContent for PHP7.

Installation

Install Plugin using composer.

composer require "sters/extract-content:dev-master"

Usage

use ExtractContent\ExtractContent;

$content = file_get_contents('https://en.wikipedia.org/wiki/PHPUnit');
$extractor = new ExtractContent($content);
$result = $extractor->analyse();

Output example.

PHPUnit is based on the idea that developers should be able to find mistakes in their newly committed code quickly and assert...

Original versions

http://labs.cybozu.co.jp/blog/nakatani/2007/09/web_1.html