3
1
Back

Are some setup variables... You probably won't need to call out for) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Robot Hugs $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Something Positive elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Questionable Content (cleanup) elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath.

New Pull Request