3
1
Back

Oatmeal elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Timothy Winchester (People I Know elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "
$orig_content
"; } // Dead Philosophers Dead Philosophers elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Poorly Drawn Lines elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // SatW elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { //No matches //No matches if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] .= $aftercomic; $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; // Camp Weedonwantcha foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); Forget.

New Pull Request