3
1
Back

$doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first } // Pain Train alt tag, Alice Grove bigger img Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath.

New Pull Request