3
1
Back

Love and adore. Elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= "

" . $entry->textContent . ""; // Softer World (alt tags we don't need to call out for) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text.

New Pull Request