Labels Milestones
BackAlt_textify($article, $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } Pain Train alt tag, Alice Grove bigger img elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } Various updates, additions /* dirty absolute URL is ready! */ Assorted updates elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(