3
1
Back

$xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags textified. $article['content'] .= "

" . $entry->textContent . "

"; } } Pain Train (to get alt tags if both exist elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $article['content'] .= "
$orig_content
"; } // XKCD (alt tags we don't need to call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'girlswithslingshots.com/comic.

New Pull Request