3
1
Back

$this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = $doc->saveXML(); } Some comics supported elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // SBMC elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $doc = new DOMDocument(); $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[@class="webcomic-image"]//img)', $article); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] .= "
" . $msg . ""; } if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } /* OotS uses some kind of.

New Pull Request