Labels Milestones
BackSupported 2015-02-23 04:25:44 -0800 e89a2a057d From d952ec97f3d5e1172c33dcefe438ee5d18f8d87d Mon Sep 17 00:00:00 2001 Subject: [PATCH] achewood, gwss fix, fix for when invisible bread has no bread 2016-05-21 17:02:21 -07:00 elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { //no-op function rel2abs($rel, $base) { if (!$alt_text || strpos($article['title'], $title_text) !== False) { $alt_text = $entry->getAttribute('title'); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($entry->getAttribute('title')); $result_html .= "
Alt: $alt_text"; } } // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'breakingcatnews.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[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(