I have a script that generates an XML file for RSS. I know I can copy and paste the URL to the XML file into an RSS Validator by hand. Is there a PHP script or function out there that can validate an RSS file and return a boolean variable to indicate if it is valid or not?
Ideally what I'd like happen is have my script automatically create the file, validate the XML and send an e-mail to me if there is a problem for some reason.
Rob