3
1
Back

&& strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Camp Weedonwantcha // Camp Weedonwantcha foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->textContent . "

"; } } Pain Train (to get alt tag elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) .

New Pull Request