3
1
Back

Message. It will be thinner than this foreach($imgs as $img){ if ($img->getAttribute('title')) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Some comics supported elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't.

New Pull Request