3
1
Back

= $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train alt tag, Alice Grove (get bigger image) elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Questionable Content (cleanup v1.0 Go to file From 9360e76802ac5995a7ed0e953615a740e80016d7 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Add splits and labels to get what game it's about $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= $aftercomic; } } // Scenes From A Multiverse (to get alt tags) } // Breaking Cat News // Something Positive Added BCN, Something Positive } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { Fix for when invisible bread has no bread elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { //noop elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Penny Arcade elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Cyanide & Happiness elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE.

New Pull Request