2017 © Pedro Peláez
 

library php-readability

Back the fun of reading - PHP Port of Arc90′s Readability: http://graceco.de/readability/

image

sephxd/php-readability

Back the fun of reading - PHP Port of Arc90′s Readability: http://graceco.de/readability/

  • Thursday, January 22, 2015
  • by sephXD
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 137 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP Readability Library

Back the fun of reading

The PHP port of Readability.js by Arc90., (*1)

Requirements

Live demo

http://graceco.de/readability/, (*2)

Usage

require 'lib/Readability.inc.php';

$Readability     = new Readability($html, $html_input_charset); // default charset is utf-8
$ReadabilityData = $Readability->getContent(); // throws an exception when no suitable content is found

// You can see more params by var_dump($ReadabilityData);
echo "

".$ReadabilityData['title']."

"; echo $ReadabilityData['content'];

PS: For Node.js port, You can check this., (*3)

The Versions

22/01 2015

dev-master

9999999-dev

Back the fun of reading - PHP Port of Arc90′s Readability: http://graceco.de/readability/

  Sources   Download

The Requires

  • php >=5.3.0

 

by Ting-Han Su