Labels Milestones
Back== $title_text){ } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // And get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags textified. } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debugging'] as $msg) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Clean up code formatting; added a few due to referer checks Dead Philosophers 2015-02-25 15:05:54 -08:00 // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { //also get blog //also get the blog $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = preg_replace("@