3
1
Back

Broken alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== 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') . ""; // only keep everything starting at the first if(preg_match("@.*(

New Pull Request