To call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // replace the
(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } achewood, gwss fix, fix for when invisiblebread has no bread function rel2abs($rel, $base) { if (two_holes_type == "center") { } $article = $this->alt_textify($article); $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } if ($rel[0]=='#' || $rel[0]=='?') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' ' ); } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = 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) . $article['content']; } // Drugs and Wires elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Achewood (alt tag) elseif (strpos($article['link'], 'dilbert.com/strip/') .