3
1
Back

Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // PhD Unknown elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE.

New Pull Request