3
1
Back

Way out of range. Please use the first elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); // Doghouse Diaries, which has broken alt tags elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $doc = NULL) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } drugs & wires, pilotside elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $img_tag . $article['content']; .

New Pull Request