3
1
Back

Please use the ARTICLE_FILTER hook. } function api_version() { return $article; } function rel2abs($rel, $base) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (GDORN_DEBUG && $article['debug']) { foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "

" . $entry->textContent . "

"; } } // CTRL+ALT+DEL // CTRL+ALT+DEL elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Chainsawsuit // Chainsawsuit // Chainsawsuit elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) .

New Pull Request