3
1
Back

$this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Eat That Toast elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { if ($rel[0] == '#' || $rel[0] == '?') { return $article; } if(ADD_IDS){ $article['content'] .= "
Alt: " . $article['id']; } function hook_render_article($article) { return $this->mangle_article($article); .

New Pull Request