3
1
Back

The Trenches; yet more code style tweaking Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // Dead Philosophers elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } // Jesus & Mo elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Jesus & Mo elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Alice Grove (get bigger.

New Pull Request