3
1
Back

$extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Two Lumps elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $doc = NULL) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath.

New Pull Request