Labels Milestones
BackExample elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
" . $entry->textContent . "
"; } } // @todo Refactor the scaling algorithm and parameters to be severed. WARNING: There is a little wiggle room on the mid surdos.