3
1
Back

$this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Dead Philosophers elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } // Joy of Tech elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Two Lumps // Two Lumps // Breaking Cat News elseif (strpos($article['link.

New Pull Request