3
1
Back

"//img[@class='comic']", $article); //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; } } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); The present design adds the following conditions: The above.

New Pull Request