Skip to content

Commit 34f32ff

Browse files
author
mingcheng
committed
updated readme file
1 parent 63833c1 commit 34f32ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,12 @@ require 'lib/Readability.inc.php';
2424
$Readability = new Readability($html, $html_input_charset); // default charset is utf-8
2525
$ReadabilityData = $Readability->getContent(); // throws an exception when no suitable content is found
2626
27+
// You can see more params by var_dump($ReadabilityData);
2728
echo "<h1>".$ReadabilityData['title']."</h1>";
2829
echo $ReadabilityData['content'];
2930
```
3031

32+
33+
3134
PS: For Node.js port, You can [[https://github.com/arrix/node-readability/|check this]].
3235

0 commit comments

Comments
 (0)