3
1
Back

Chainsawsuit // Poorly Drawn Lines elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debug'] as $msg) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); } } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { //noop elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $doc = NULL) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Invisible Bread (make the bread visible if (preg_match("@.*(get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) .

New Pull Request