3
1
Back

|| $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] .= "

Bonus comic:
" . $aftercomic . "

"; elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } /* dirty absolute URL */ /* replace '//' or '/./' or '/foo/../' with '/' */ $re.

New Pull Request