3
1
Back

Textified. } $article = $this->alt_textify($article); $entries = $xpath->query($query); $result_html = ''; function rel2abs($rel, $base) { function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Breaking Cat News $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; // Awkward Zombie // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // Camp Weedonwantcha foreach ($entries as $entry){ $article['content'] .= "
" . $msg . ""; } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users function get_content($link) { /** * Use this if you want to.

New Pull Request