3
1
Back

= fetch_file_contents($link); Fix for when invisible bread has no bread Pain Train (to get alt tags) elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // Eat That Toast bog-standard example elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // XKCD (alt tags we don't lose it.

New Pull Request