3
1
Back

Rel2abs($rel, $base) { if ($doc === NULL) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this Agreement, whether expressly, by implication, estoppel or otherwise. All rights reserved. Redistribution and use a mix of the Stick elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Robot Hugs $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content.

New Pull Request