3
1
Back

$xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } Some comics supported elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // And get blog entry $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $article['id']; } return $result_html; } function mangle_article($article) { // Something Positive From e89a2a057de6d0325362ec61c1fe0ab24a803b20 Mon Sep 17 00:00:00.

New Pull Request