3
1
Back

Created with Inkscape (http://www.inkscape.org/) --> get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Jesus & Mo elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = new DOMXPath($doc); return $xpath; } function rel2abs($rel, $base) { function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Dinosaur Comics 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.

New Pull Request