6628 Hawks Creek Avenue
Fort Worth, TX 76114

(817) 732-2995

Newsletter

load($targetFeed); $fullList = $newDoc->getElementsByTagName("item"); $counter = 0; foreach($fullList as $thisItem) { if ($counter >= $numFeeds) { break; } $values = $thisItem->getElementsByTagName("*"); foreach($values as $node) { if($node->nodeName == "title") { $title = $node->nodeValue; } /*if($node->nodeName == "link") { $link = $node->nodeValue; }*/ if($node->nodeName == "pubDate") { $date = $node->nodeValue; } if($node->nodeName == "content:encoded") { $content = $node->nodeValue; } } echo "

" . $title . "

" . date('F jS Y',strtotime($date)) . "

" . $content . "

"; $counter++; } ?>