Labels Milestones
BackOf title and alt tags elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } //Sites that provide images and just need alt tags foreach($imgs as $img){ $article['content'] .= "Alt: " . $img->getAttribute('title') . ""; } // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // only keep everything starting at the first