3
1
Back

$this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get blog entry $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Awkward Zombie // Awkward Zombie // Awkward Zombie elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = new DOMXPath($doc); return $xpath; } function hook_render_article($article) { return $rel; } if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than.

New Pull Request