Age | Commit message (Collapse) | Author |
|
development-update-to-f0edc77cb58ef52890e3065cf2b0e334d940feb2
|
|
|
|
|
|
|
|
|
|
TODO: Make the metadata array an object with getters and setters
|
|
it later.
|
|
sibling joining logic when adjacent content is actually located in parent's sibling node.
|
|
belong to `topCandidates` array and whose scores are quite closed with current `topCandidate` node.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fix for Notice: Undefined index: og:image
|
|
Notice: Undefined index: og:image
in /andreskrey/readability.php/src/HTMLParser.php, line 469
|
|
|
|
|
|
|
|
|
|
|
|
function. Performance will suffer (as the system has to reparse the html eveytime it cycles) but is the only solution AFAIK.
|
|
pr-20-new-backup-approach
|
|
keep a backup of it because there seems to be a connection between original object and clone. Making a change on the original object translates it to the backup one, so html must be reloaded everytime the algorithm cycles.
|
|
|
|
|
|
Prepare for release v0.2.0
|
|
|
|
CHAMPAGNE!
|
|
|
|
|
|
|
|
to setNodeTag to keep attributes from original node.
|
|
|
|
prevents an exception being thrown by postProcessContent when $result is a bool not a DOM object.
|
|
|
|
|
|
|
|
|
|
traverse the DOM backwards
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|