Labels Milestones
BackContributor as a kind of referer check which prevents fetch_file_contents() from retrieving the image. /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. Elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $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, "//div[@id='content']/img", $article); elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } achewood, gwss fix, fix for when invisiblebread has no bread 2016-05-21 17:02:21 -07:00 elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // replace the