Labels Milestones
Back$doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Awkward Zombie elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // Two Lumps // Breaking Cat News // Something Positive Added BCN, Something Positive // Something Positive if (!$alt_text){ Added BCN, Something Positive elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img.
New Pull Request