I suppose you could always submit the retrieved data to the W3C feed validator (http://validator.w3.org/feed/) with CURL once you've fetched it, or send the URL to the validator (which is probably the better approach as you're moving less data around), but processing the returned results may be tricky (the results are a HTML document that's meant to be human-readable rather than machine-readable).
↧