3
1
Back

Function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
" . $msg . ""; } } } } // SatW // SatW elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = new DOMDocument(); elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Dead Philosophers elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } } } // Three Panel Soul elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE.

New Pull Request