3
1
Back

Get alt tag elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "ID: " . $article['id']; } function hook_render_article_cdm($article) { } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array Panels/Font files/Quentincaps.ttf | Bin 0 -> 10174 bytes .../PRISMATIC SPHERE.png | Bin 684 -> 1394884 bytes Panels/title_test_18.stl | Bin 0 -> 147621 bytes Images/loop.png.

New Pull Request