3
1
Back

With MS3. After the first if(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Gunnerkrigg Court // Gunnerkrigg Court elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'breakingcatnews.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')) { // only keep everything starting at the time.

New Pull Request