3
1
Back

A development-only message. It will be thinner than this foreach ($imgs as $img) { if ($doc === NULL) { if (preg_match("@.*()@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . ""; // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // SatW // SatW elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // XKCD (alt tags we don't need to call out for) $article['content.

New Pull Request