3
1
Back

= $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } /* absolute URL is ready! */ return $scheme.'://'.$abs; } /* absolute URL is ready! */ return $scheme.'://'.$abs; } /* absolute URL is ready! */ } function hook_render_article_cdm($article) { return $this->mangle_article($article); } catch (Exception $e) { $article['content.

New Pull Request