\s+', '><', $xml);
// Make textual items XML safe by enclosing them with CDATA sections unless it's already been done
$xml = preg_replace('/
(?!<\\!\\[CDATA\\[)/', '])<\\/title>/', '$1]]>', $xml);
$xml = preg_replace('/(?!<\\!\\[CDATA\\[)/', '])<\\/author>/', '$1]]>', $xml);
$xml = preg_replace('/(?!<\\!\\[CDATA\\[)/', '])<\\/description>/', '$1]]>', $xml);
$xml = preg_replace('/(?!<\\!\\[CDATA\\[)/', '])<\\/link>/', '$1]]>', $xml);
}
$xml = str_replace('', '', $xml);
$xml = str_replace('', '', $xml);
$xml = str_replace('', '', $xml);
echo str_replace('