| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The PHP port of Readability.js by Arc90.
http://graceco.de/readability/
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 "<h1>".$ReadabilityData['title']."</h1>"; echo $ReadabilityData['content'];
PS: For Node.js port, You can check this.
| Back | FazBrowse Home | New Git URL |