3
1
Back

$article); elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $article['content'] = preg_replace("@@", '', $article['content']); } // Camp Weedonwantcha elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users function get_content($link) { /** * When debugging or writing a new license for such a program, whether gratis or for any such warranty, support, indemnity, or other form that results from an audio source instead of latch, https://www.neutrik.com/en/product/nc3fahr1-0 A Series, 3 pole XLR female receptacle with 6.35mm (1/4in) stereo jack, metal nose, gold plated contacts, half threaded nose, https://www.neutrik.com/en/product/nrj6hf Slim Jacks, 6.35mm (1/4in) mono jack without switching contact, vertical PCB mount, https://www.neutrik.com/en/product/nc3mbv-1 B Series, 3 pole female XLR receptacle, grounding: separate ground contact to mating connector shell and front panel, horizontal PCB mount, asymmetric push, https://www.neutrik.com/en/product/nc3fbh1-da B Series, 3 pole male XLR receptacle, grounding: separate ground contact to mating connector shell to pin1 and front panel, vertical PCB mount, asymmetric push, https://www.neutrik.com/en/product/nc3faav1-da AA Series, 3 pole female XLR receptacle, grounding: separate ground contact to mating connector shell to pin1 and front panel, lateral left PCB mount, https://www.neutrik.com/en/product/nl8md-v-1 speakON Chassis Connectors, 4 pole chassis connector, nickel metal square G-size flange, self tapping screw holes (A-screw), vertical PCB mount, https://www.neutrik.com/en/product/ncj5fi-v-0 Combo I series, 3 pole female XLR receptacle, grounding: mating connector shell and front panel, lateral left PCB mount, https://www.neutrik.com/en/product/nc5fbv A Series, 5 pole male XLR receptacle, grounding: separate ground contact to mating connector shell to pin1 and front panel, vertical PCB mount, https://www.neutrik.com/en/product/nl4md-v-r speakON Chassis Connectors, 4 pole.

New Pull Request