3
1
Back

Hide (42 Eco1.User user hide (48 B.Fab user hide From 5a4d5850276107dae545a96ba13aec19af1bdbba Mon Sep 17 00:00:00 2001 Subject: [PATCH] Added The Trenches; yet more code style tweaking // The Trenches elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Girls with Slingshots elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Invisible Bread (make the bread visible) $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Joy of Tech * Girls with Slingshots // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // generate holes for easier identification within third-party archives. Copyright 2016 The Xorm Authors and/or other materials.

New Pull Request