3
1
Back

2015-02-25 15:05:54 -08:00 // Poorly Drawn Lines elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // Eat That Toast bog-standard example // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Joy of Tech elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { //also get the blog // XKCD (alt tags we don't need to call out for) // Dead Philosophers elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Camp Weedonwantcha // Camp Weedonwantcha elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches //No matches No known key found for this signature in database GPG Key ID: LICENSE Normal file Unescape.

New Pull Request