3
1
Back

If (strpos($article["content"], "bonus panel!") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { $article['content'] .= $aftercomic; $article['content'] .= "Alt: " . $img->getAttribute('title') . ""; } } } function hook_render_article($article) { $article['content'] .= "ID: " . $article['id']; } return $result_html; } function about() { return $base.$rel; } extract(parse_url($base.

New Pull Request