3
1
Back

$entry) { $article['content'] .= "
Error processing via _comics plugin!" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Questionable Content (cleanup 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); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } //Sites that provide images and just need alt tags foreach($imgs as $img){ // Softer World (alt tags we.

New Pull Request