3
1
Back

(strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "" . $entry->textContent . "

"; } } Clean up code formatting; added a few comics; standardized appending alt/title text //also get the blog //also get blog entry $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about //and sometimes necessary for old fogeys like.

New Pull Request