3
1
Back

- C1 is too small; need more than 100k to get what game it's about $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } // SatW // SatW elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Invisible Bread, Softer World (alt tags we don't need to call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Three Panel Soul $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); } } // Softer World (alt tags), Dinosaur Comics Cleanup // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks Added BCN, Something Positive elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . "

"; // only keep everything starting at the first run.

New Pull Request