3
1
Back

Robot Hugs $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $matches[1]; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; .

New Pull Request