3
1
Back

Elseif ($alt_text == $title_text){ } elseif (strpos($alt_text, $title_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { if ($rel[0] == '#' || $rel[0] == '?') { return $base . $rel; } if (strpos($article['link'], 'eatthattoast.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, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } Assorted updates elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Dinosaur Comics alt tags+blog), CAD, attempt at OOTS (but that one.

New Pull Request