3
1
Back

Handy: this permits the mise en scene which we love and adore. Elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); Assorted updates elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $article['content.

New Pull Request