3
1
Back

$this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Girls with Slingshots elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users /* absolute URL is ready! */ Assorted updates elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting.

New Pull Request