diff options
Diffstat (limited to 'src/Readability.php')
-rw-r--r-- | src/Readability.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Readability.php b/src/Readability.php index 9255bc6..8d6ecc4 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -198,8 +198,11 @@ class Readability extends Element implements ReadabilityInterface */ public function getClassWeight() { - // if(!Config::FLAG_WEIGHT_CLASSES) return 0; - +// TODO To implement. How to get config from html parser from readability +// if ($this->getConfig()->getOption('weightClasses')) { +// return 0; +// } +// $weight = 0; // Look for a special classname |