3
1
Back

Use both. } elseif ($alt_text == $title_text){ } elseif (strpos($alt_text, $title_text) !== false){ } elseif (strpos($alt_text, $title_text) !== false){ $text_element = $doc->createElement("i", $title_text); } elseif ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif ($alt_text == $title_text){ } elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] = preg_replace("@@", '', $article['content']); } // Two Lumps elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the courts of a contract shall be included with each.

New Pull Request