summaryrefslogtreecommitdiff
path: root/src/Nodes/NodeTrait.php
AgeCommit message (Collapse)Author
2022-07-16Add 'ReturnTypeWillChange' to 2 methods in 'NodeTrait'.wn_
2021-08-26Remove deprecated methodFiveFilters.org
2021-08-25Consider #hash links in link densityFiveFilters.org
https://github.com/mozilla/readability/commit/3c833899866ffb1f9130767110197fd6f5c08d4c (not all these changes work as expected, so one section has been commented out for now)
2021-08-25Code readability fixesFiveFilters.org
https://github.com/mozilla/readability/commit/fc78270a308e815429113517a61428e4e56076a8
2021-08-25Update NodeTrait.phpFiveFilters.org
2021-08-25Clean up and use regex by nameFiveFilters.org
This should resemble the Readability.js code a little more.
2021-08-19Update NodeTrait.phpFiveFilters.org
2021-08-19Remove aria-hidden="true" nodesFiveFilters.org
https://github.com/mozilla/readability/commit/60f470c4bb618a7987d5701b1228ec5ff49f2773 (but changes based on current version of Readability.js)
2021-08-14Update namespaceFiveFilters.org
2019-06-17Style CI ChangesAndres Rey
2019-06-17Minor changeAndres Rey
2019-06-17Make DOMNodeList more DOMNodeList...yAndres Rey
2019-06-17Bring back getChildren and add a deprecation noticeAndres Rey
2019-06-17Remove getChildren function, implement a fake DOMNodeList class. Prepare ↵Andres Rey
everything to support newer versions of libxml2
2019-05-26Add safecheck for getFirstElementChild and replace another instance of ↵Andres Rey
firstChild
2019-05-26Add getFirstElementChild functionAndres Rey
2019-05-26Add missing starAndres Rey
2018-11-22Apply fixes from StyleCIAndres Rey
2018-11-22Fix wrong docblockAndres Rey
2018-11-22Add missing asterisk in docblockAndres Rey
2018-11-20Fix countable issue in php 5.6, 7 and 7.2Andres Rey
2018-11-19TypoAndres Rey
2018-11-19Implement shiftingAwareGetElementsByTagName to avoid node shifting errorsAndres Rey
2018-11-18Add comment about issue with datatablesAndres Rey
2018-11-11Fix issue when setting custom properties in nodesAndres Rey
2018-11-07Add third parameter of "hasAncestorTag" as a callable optional functionAndres Rey
2018-11-07Remove node parameter from "hasAncestorTag" since it's a trait and it works ↵Andres Rey
on itself
2018-11-06Set default value for $carry in array_reduce functionsAndres Rey
2018-11-06Fix wrong reduction of array (must return true if ALL the calls returned true)Andres Rey
2018-10-31Look for classes names when checking visibilityAndres Rey
2018-10-21Fix incorrect tagName checkAndres Rey
2018-10-17Update comment of hasSingleTagInsideElementAndres Rey
2018-09-05Update initial parsing and add isWhitespace trait function.Andres Rey
2018-09-02Add hasAttribute overrideAndres Rey
2018-09-02Add isProbablyVisible functionAndres Rey
2018-09-02Rename hasSinglePNode to hasSingleTagInsideElement and accept tag as parameterAndres Rey
2018-09-01Import the isPhrasingContent function. Might want to check the recursive ↵Andres Rey
loop there if it's actually doing what it should and if there's a better way to optimize it
2018-03-19Apply StyleCI diffAndres Rey
2018-03-10Add _cleanClasses functionAndres Rey
2018-01-27Make sure that we do not allow the DOMDocument reach the parsing algorithm ↵Andres Rey
(Because we use/abuse the parentNode call, and a DOMDocument does not have a parent)
2017-12-01Move the DOM classes to its own namespaceAndres Rey
2017-12-01Merge remote-tracking branch 'origin/v1.0' into v1.0Andres Rey
# Conflicts: # src/NodeClass/DOMNode.php # src/Readability.php
2017-12-01Rename NodeClass namespace to NodesAndres Rey