Labels Milestones
BackDOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= $aftercomic; $article['content'] .= "
Bonus comic:
" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); // $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] .= $aftercomic; } } function hook_render_article($article) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; elseif. New Pull Request