3
1
Back

Main pdf a924f97182 Minor layout tweaks Minor layout tweaks From 8f3ce8359ba460976b5ffcbe5a92590e33120bbc Mon Sep 17 00:00:00 2001 Subject: [PATCH] Various updates, additions elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } Added The Trenches; yet more code style tweaking // The Trenches elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE ) { // $img_tag = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "

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

"; elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content'] .= "" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Invisible Bread (make the bread visible if (preg_match("@.*(get_img_tags($xpath, "//div[@id='content']/img", $article); } elseif (strpos($title_text, $alt_text) !== False) { if (preg_match("@.*(get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // And get blog entry $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Various updates, additions 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) Clean up code formatting; added a few more 'simple' Unseen Servant functions tracks the ratsnest and compactifies the power subsystem tracks the ratsnest and compactifies the power subsystem Checkpoint after converting most things to SMD 55ee65a5e94ad245f04db09ef472959294e7cca0 Still trying to implement chaining Schematics/Unseen.

New Pull Request