Skip to content

dotpack/php-boiler-pipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpBoilerPipe

Boilerplate Removal and Fulltext Extraction from HTML pages.

Partial implementation of https://github.com/kohlschutter/boilerpipe in PHP. Requires PHP >= 5.4.

Example

# html
$path = "http://example.com/some-article.html";
$data = file_get_contents($path);

# code
$ae = new DotPack\PhpBoilerPipe\ArticleExtractor();
echo $ae->getContent($data) . "\n";

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages