3
1
Back

Foreach ($imgs as $img) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if ($doc === NULL) { foreach ($imgs as $img) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Poly In Pictures elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics.

New Pull Request