Labels Milestones
Back2010 The Go Authors. All rights reserved. Redistribution and use in source and binary forms, with or without OF THIS SOFTWARE, EVEN IF ADVISED OF THE USE OR OTHER DEALINGS IN THE SOFTWARE. Copyright (c) 2013 Julian Gruber (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Girls with Slingshots elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'leasticoulddo.com/comic.
New Pull Request