<?php
$TBS = new clsTinyButStrong;
$TBS->LoadTemplate(basename($_SERVER['SCRIPT_NAME'], ".php").".html") ;
global $xmlobj;
// RSS parser to build data object http://keithdevens.com/software/phpxml.
include ("./xml_parser_KD.php");
//$url = "http://rss.nascar.com/rss/news_cup.rss";
$url = "http://services.devx.com/outgoing/webdevfeed.xml";
//$url = "http://rss.azstarnet.com/index.php?section=s1a";
$xml = implode('', file($url));
$xmlobj = XML_unserialize(&$xml);
$print_xmlobj = print_r($xmlobj,true);
$TBS->MergeBlock('blk1', 'array', array($xmlobj));
$TBS->MergeBlock('blk2', 'array', $xmlobj[rss][channel][item]);
$TBS->Show();
?>