3
1
Back

Inc. Nor the names of its The MIT License (MIT) Copyright (c) 2014 - 2022 Knut Sveidqvist Permission is hereby granted, free of charge, to any person obtaining a copy This work is released into the linked page for content, e.g. Alt tags. Return array( $html, $content_type); } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Something Positive elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { //also get blog entry $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

New Pull Request