", "", EXCL);
$rss_array['COPYRIGHT'] = return_between($news['FILE'], "", "", EXCL);
# Parse the items
$item_array = parse_array($news['FILE'], "", "");
for($xx=0; $xx", "", EXCL);
$rss_array['ILINK'][$xx] = return_between($item_array[$xx], "", "", EXCL);
$rss_array['IDESCRIPTION'][$xx] = return_between($item_array[$xx], "", "", EXCL);
$rss_array['IPUBDATE'][$xx] = return_between($item_array[$xx], "", "", EXCL);
}
return $rss_array;
}
/***********************************************************************
display_rss_array($rss_array)
-------------------------------------------------------------
DESCRIPTION:
Displays parsed RSS data
INPUT:
$target
The web address of the RSS feed
RETURNS:
Sends results to the display device
***********************************************************************/
function display_rss_array($rss_array)
{?>
}?>
}
/***********************************************************************
strip_cdata_tags($string)
-------------------------------------------------------------
DESCRIPTION:
Removes CDDATA tags from a string
INPUT:
$string
Text containing CDDATA tags
RETURNS:
Returns a string free of CDDATA tags
***********************************************************************/
function strip_cdata_tags($string)
{
# Strip XML CDATA characters from all array elements
$string = str_replace("", "", $string);
return $string;
}
?>