3
1
Back

= $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $img_tag . $article['content']; } // Dilbert elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // Breaking Cat News elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = new DOMXPath($doc); } function hook_render_article($article) { return $base . $rel; } if (two_walls) { ## GitHub repository * [https://github.com/holmesrichards/precadsr](https://github.com/holmesrichards/precadsr) * [https://gitlab.com/rsholmes/precadsr](https://gitlab.com/rsholmes/precadsr This repo.

New Pull Request