3
1
Back

Example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Three Panel Soul elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Three Panel Soul $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); Created by editing arbitrary text.

New Pull Request