3
1
Back

DOMXPath($doc); return $xpath; } function mangle_article($article) { // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'polyinpictures.com/comic.

New Pull Request