Labels Milestones
BackFrom fa9e450cf13a213a47e78bfba9984077449b7f67 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Wondermark fix; added Oatmeal initial Wondermark fix; added Oatmeal initial Fix for when invisiblebread has no bread Pain Train (to get alt tag) // Achewood (alt tag already present) // Wondermark (alt tag elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Awkward Zombie elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // Two Lumps $orig_content = strip_tags($article['content']); $article['content'] = $img_tag . $article['content']; } // Two Lumps elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = new DOMDocument(); // replace the