3
1
Back

$xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Two Lumps elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // XKCD (alt tags we don't need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ $img.

New Pull Request