Labels Milestones
BackUnknown 5a4e89eea63bf71c8fd68e1168f096dfb3459aa4 More cleanup More cleanup // $host->add_hook($host::HOOK_ARTICLE_FILTER, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); $host->add_hook($host::HOOK_RENDER_ARTICLE, $this); } Some comics supported Some comics supported elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] = $img_tag . $article['content']; } Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { if (preg_match("@.*?( " . $entry->ownerDocument->saveXML($entry) . "
Alt: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "
- Normal 0.683044 -0.365094 0.63258 vertex -8.08229 3.34779 5.33536.
- -0.881864 -0.0120147 facet normal 8.426097e-01 5.385247e-01 -3.218702e-04.