3
1
Back

// Two Lumps elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get below 200bpm.

New Pull Request