3
1
Back

$article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $base_url); foreach($attributes as $attrib_name => $node){ } function hook_render_article($article) { return $this->mangle_article($article); } function init($host) { // Dead Philosophers elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { //also get the blog //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); 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 $orig_content = strip_tags($article['content']); $article['content'] = $img; } } } // Breaking Cat News.

New Pull Request