3
1
Back

} achewood, gwss fix, fix for when invisiblebread has no bread elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } achewood, gwss fix, fix for when invisible bread has no bread elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(ownerDocument->saveXML($entry) . "

"; } } //Sites that provide images and just need alt tags elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Poly In Pictures elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $article['content'] = $img; } } $entries = $xpath->query("//div[@id='signoff-wrapper']"); $rel = trim($rel.

New Pull Request