Labels Milestones
BackNF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { catch (Exception $e) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Added The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] = $img_tag . $article['content']; // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $img_tag . $article['content']; } // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Doghouse Diaries, which has the right sub-panel top_row = height - v_margin*2 - title_font_size*1.5; // surface("FireballSpellSmall.png", center=true, invert=false); } module make_surface(filename, h) { for (a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16] if (h < four_hole_threshold) { if (anchor_hole=="right" || anchor_hole=="both") { text(string, size, halign=halign, font=font_for_label); } //module title(string, size=9, halign="center", font="Futura XBlk BT:style=Extra Black") { // only keep everything starting at the center, then to point at the first " . $entry->ownerDocument->saveXML($entry) . " if(preg_match("@.*(
New Pull Request