3
1
Back

Exist elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // SBMC elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under.

New Pull Request