Labels Milestones
BackControls Final-ish tweaks 45c41b9873c867fd482202c4f0c018a6f3903a54 Messing around with panel title fonts More experimentation with panel title fonts From aa85775b4759021aae3f9b898bf346f9066d11e7 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Clean up code formatting; added a few comics; standardized appending alt/title text //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Drugs and Wires elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= $aftercomic; } } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Awkward Zombie elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = new DOMDocument(); // replace the