3
1
Back

Probably won't need to call out for elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] .= "
Alt: $alt_text
"; } } // Eat That Toast elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // Dilbert elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(get_img_tags($xpath, "//div[@id='comicbody']//img", $article); elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Poly In Pictures elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Poly In Pictures elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get blog entry $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') .

New Pull Request