3
1
Back

D6ebbf1c1b28130c9d340e0b0f0f06a7bc1cfd83 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix annoyance of 2x05 IDC header triangle being so far out Change C13 to 10 nF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' ' ); } module jackStorageHole(horizontalOffset, verticalOffset, diameter { mountHoleDepth = panelThickness+2; // because diffs need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $article['content'] .= "
$orig_content
"; // Awkward Zombie $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // only keep everything starting at the first elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Joy of Tech * Girls with Slingshots * Three Panel Soul elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} .

New Pull Request