3
1
Back

$article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $img_tag . $article['content']; } // Cyanide & Happiness elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { From 5e32fb4fc0953f2a10f8dc9cf7a0a3653bcbf4f2 Mon Sep 17 00:00:00 2001 Subject: [PATCH] More cleanup // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } function init($host) { // Dinosaur Comics (alt tags+blog), CAD, attempt at.

New Pull Request