3
1
Back

Small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } function get_img_tags($xpath, $query, $article, $base_url=NULL) { function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img .

New Pull Request