3
1
Back

User (35 F.Paste user (36 B.SilkS user (37 F.SilkS user hide 42 Eco1.User user hide (35 F.Paste user (36 B.SilkS user (37 F.SilkS user hide From 713014315986726ad96f361cfbc8e67551a6a879 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Invisible Bread, Softer World (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Two Lumps elseif (strpos($article['link'], 'campcomic.com/comic/') !== 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="comicbody"]//img)', $article) . $article['content']; } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { // Timothy Winchester (People I Know) // Timothy Winchester (People I Know elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the source code. And you must give any third party, for a charge no more than your cost of any kind, either expressed.

New Pull Request