3
1
Back

8de432ba46 Upload files to 'Panels' From cc6dd0b3d592e09ae9b8b259f5d29bd7aee3252a Mon Sep 17 00:00:00 2001 Subject: [PATCH] More tweaks after pro review 2 From 5082711a9800483ca58d4b1dffec55bdf27856b9 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Added BCN, Something Positive // Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $doc = 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, '(//div[@id="comic"]//img)', $article) . $article['content']; } Various updates, additions // PhD Unknown elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "

" . $entry->textContent . "

"; } } module make_surface(filename.

New Pull Request