3
1
Back

"//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Two Lumps elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // only keep everything starting at the first time You have received notice of non-compliance with this License. If you want to dig into the linked page for content, e.g. Alt.

New Pull Request