3
1
Back

// Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] = $doc->saveXML(); } Some comics supported elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Dead Philosophers 2015-02-25 15:05:54 -08:00 // Poorly Drawn Lines elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Joy of Tech $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { From b4b4641770af206fdb9aac874d2d59b9ecc400d1 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Final revision; added custom DRC.

New Pull Request