3
1
Back

2a5bb74bbd0830b4c30d8004e4cdd9ae79e21770 Update Schematics/schematic_bugs_v1.md more fixes - Gate stops working after a few comics; standardized appending alt/title text under images (extra useful for non-browser users) function about() { return array(0.1, 'Yet more stupid-simple comic-fetching.', } function rel2abs($rel, $base) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry){ $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); function mangle_article($article) { Added BCN, Something Positive elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // Breaking Cat News elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $img; } } // Dead Philosophers elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags textified. If(ADD_IDS){ $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } function hook_render_article($article) { try { return $this->mangle_article($article); } function hook_render_article_cdm($article) { return $rel; } if ($rel[0.

New Pull Request