3
1
Back

$article['title'] || strpos($article['title'], $title_text) !== False) { if ($img->getAttribute('title')) { // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { //no-op From.

New Pull Request