Labels Milestones
Back$article['content']); foreach ($entries as $entry) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } //Sites that provide images and just need alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { // And get blog elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $doc = new DOMDocument(); // replace the