3
1
Back

For foreach ($imgs as $img) { if ($img->getAttribute('title')) { // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); // $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $article['content'] .= $aftercomic; } } /* absolute URL is ready! */ } function hook_render_article($article) { } function get_img_tags($xpath, $query, $article) .

New Pull Request