3
1
Back

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 function get_content($link) { $html = fetch_file_contents($link); $content_type = $fetch_last_content_type; return array( $html, $content_type); } function rel2abs($rel, $base) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Wondermark (alt tag already present elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Camp Weedonwantcha foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'jpg')]", $article, "http://vgcats.com/comics/"); // Invisible Bread (make the bread visible Binary files /dev/null and b/Futura Heavy BT.ttf (100% rename MK_VCO_RADIO_SHAEK_W_PARTS.diy => Schematics/MK_VCO_RADIO_SHAEK_W_PARTS.diy (100% rename MK_VCO_RADIO_SHAEK_W_PARTS.diy => Schematics/MK_VCO_RADIO_SHAEK_W_PARTS.diy (100% rename MK_VCO_RADIO_SHAEK_try2_ground_rail.diy => Schematics/MK_VCO_RADIO_SHAEK_try2_ground_rail.diy (100% Subject: [PATCH] Am totally not using git correctly More experimentation with panel title fonts } // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Cyanide & Happiness elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL.

New Pull Request