3
1
Back

Example // Penny Arcade elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Breaking Cat News $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // SBMC elseif.

New Pull Request