3
1
Back

= $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== 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'] = $this->get_img_tags($xpath.

New Pull Request