3
1
Back

Page "Modules Index" cannot be undone. Continue? Define('ADD_IDS', True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function about() { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { try { return $base . $rel; } /* absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Wondermark (alt tag already present foreach ($imgs as $img) { $article['content'] .

New Pull Request