Labels Milestones
Back$base if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base.$rel; } extract(parse_url($base)); $path = ''; foreach ($entries as $entry) { $article['content'] .= "
" . $entry->textContent . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($vgcats_url); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Clean up code formatting; added a few due to referer checks Added BCN, Something Positive // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // only keep everything starting at the first" . $entry->ownerDocument->saveXML($entry) . "
"; } } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) . New Pull Request