3
1
Back

Lines 978eb1d01f Fix for when invisiblebread has no bread elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } Dead Philosophers elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'png')]", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "berkeleymews.com/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] .= "
" . $msg . ""; // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD.

New Pull Request