3
1
Back

Some setup variables... You probably won't need to call out for elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // SBMC elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE.

New Pull Request