3
1
Back

(strpos($article["link"], "satwcomic.com/") !== FALSE) { // there's both alt and title texts, they're both different, use both. } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // Alice Grove (get bigger image elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Invisible.

New Pull Request