3
1
Back

Code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } Some comics supported Some comics supported elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Three Panel Soul * Scenes From A Multiverse (to get alt tags if (preg_match("@.*()@", $article['content'], $matches)) { } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { // make a hole with radius: ", hole_r , " at ", hole_dist_side, height - hole_dist_top); echo("Putting a hole with radius: ", hole_r , " at ", hole_dist_side, height - v_margin*2 - title_font_size; working_increment = working_height / (8+tolerance/3); // generally-useful spacing amount for vertical columns of stuff working_increment = working_height / 6; // generally-useful spacing amount for vertical columns of stuff col_left = h_margin; working_increment = (working_height-v_margin+thickness) / (9); // generally-useful spacing amount for vertical columns.

New Pull Request