Skip to content

FirestarterUA/php-boiler-pipe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpBoilerPipe

Boilerplate Removal and Fulltext Extraction from HTML pages.

Implementation of https://github.com/kohlschutter/boilerpipe in PHP.

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%