3
1
Back

// Wondermark (alt tag already present foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Breaking Cat News // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); $article['content'] = $img_tag . $article['content']; } // CTRL+ALT+DEL elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) .

New Pull Request