3
1
Back

This. Our decision will be thinner than this foreach($imgs as $img){ foreach ($imgs as $img) { if (preg_match("@.*()@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] = $doc->saveXML(); // Questionable Content (cleanup elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // Jesus .

New Pull Request