3
1
Back

$base $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return 2; } } foreach($imgs as $img){ $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Hole for setscrew } // Scenes From A Multiverse Least I Could Do (wtf image size?) // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { //no-op else { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { if (strpos($article["content"], "bonus panel!") !== FALSE) { // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE.

New Pull Request