3
1
Back

From b96c823428337e1169ae4a0f1d50e46562744447 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 hook_render_article_cdm($article) { return $this->mangle_article($article); } function mangle_article($article) { // Eat That Toast elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // And get blog elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks 943ef1409b Fix getting a bunch of wires backwards Fix floating pin for op amp cf14a1432f Add kicad schematic, some diylc noodling Add kicad schematic, some diylc noodling 4d47ea2710 Initial stab at a 10-step panel layout ideas Modules Index Pages Fab Plant Research Table of Contents Samba Reggae 1: BSD: .. . . . . . . . . . . . . . . . . . . . . <- all surdos BSD: . . . . . . . . . . . . . . . . . <- all surdos LN2: .

New Pull Request