3
1
Back

$this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Eat That Toast elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // And get blog elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Two Lumps // Two Lumps elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // Achewood (alt tag) // Pain Train (to get alt tag elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Breaking Cat News // Something Positive elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = new DOMXpath($doc); $imgs .

New Pull Request