} if(preg_match("@.*()@", $article['content'], $matches)) { // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'breakingcatnews.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[@id="comic"]//img)', $article); // } elseif ($alt_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as.
alt
click/enter