3
1
Back

2.992121,8.8582675 H 2.913381" It's really just a borked RSS feed elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; } } //Sites that provide images and just need alt tags elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } function hook_render_article_cdm($article) { return array( $html, $content_type); } function hook_render_article_cdm($article) { function get_img_tags($xpath, $query, $article) { $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry) { // And get blog entry $entries = $xpath->query("//div[@id='signoff-wrapper.

New Pull Request