3
1
Back

Call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { //no-op else { return.

New Pull Request