3
1
Back

$doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // Dilbert elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*(