3
1
Back

Installation and contributing. PRs welcome. I think this is far simpler than this foreach($imgs as $img){ // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Joy of Tech // Joy of Tech * Girls with Slingshots $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a.

New Pull Request