3
1
Back

$entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Breaking Cat News elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $img; } } // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } function hook_render_article($article.

New Pull Request