3
1
Back

Cleanup $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'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { // Poly In Pictures elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Camp Weedonwantcha // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath.

New Pull Request