Labels Milestones
BackGet simpler than this foreach($imgs as $img){ $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; // Wondermark (alt tag already present) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // replace the