3
1
Back

Narrower modules if we want $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)) { } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'wondermark.com/c.

New Pull Request