3
1
Back

From 5a4e89eea63bf71c8fd68e1168f096dfb3459aa4 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Dead Philosophers elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // SBMC // SBMC 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='cc-comicbody']//img", $article); } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // PhD.

New Pull Request