3
1
Back

Center=true); } // SBMC // SBMC elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { //noop elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Pain Train (to get alt tags) // Scenes From A Multiverse (to get alt tag) // Achewood (alt tag already present elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text //also get blog elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { // Breaking Cat News // Something Positive elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= "Bonus comic:" . $aftercomic . ""; if (ADD_IDS) { * Two.

New Pull Request