3
1
Back

It right. Latest commits for branch fix/merge_issues Merge issues to be fixed elsewhere elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } } Clean.

New Pull Request