3
1
Back

'eatthattoast.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // SBMC elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // Berkeley Mews // elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { if (!$alt_text || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($alt_text, $title_text) !== false){ } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text); } function get_content($link) { .

New Pull Request