Labels Milestones
BackConfident we do know we need to call out for) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Dead Philosophers // Dead Philosophers elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // Gunnerkrigg Court elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); } // Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Least I Could Do (wtf image size? If (preg_match("@.*(