3
1
Back

1 Fireball/fp-info-cache | 1553 No commits in common. "cfb5bfb128410de2d9f653579a111025de23b9a3" and "26b0f019558d72bf4224105820000ab74fd3a1b8" have entirely different histories. // Achewood (alt tag) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; $img_tag = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Cyanide & Happiness elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Breaking Cat News elseif (strpos($article['link'], 'twolumps.net/d/') !== 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'] = $doc->saveXML(); } // Girls with Slingshots elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Camp Weedonwantcha foreach ($entries as $entry) { $article['content'] = $matches[1]; // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Alice Grove (get bigger image elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Chainsawsuit // Poorly Drawn Lines // Berkeley Mews // $img_tag = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // And get blog $entries .

New Pull Request