3
1
Back

= preg_replace('#(width|height)="150"#', '', $article['content']); } // Dead Philosophers elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $article['content'] .= "" . $msg . ""; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Eat That Toast bog-standard example elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath.

New Pull Request