Welcome Guest, Not a member yet? Register   Sign In
Validating a RSS feed
#1

[eluser]Xeoncross[/eluser]
I want to validate an rss feed that a user enters and then I fetch and store. I know that SimpleXML only likes proper XML documents - but I don't think that it is enough to rely on it for my checking. I know that a document is supposed to have 3 elements (title, link, description) and then a bunch of < item > elements with the actual news rows.

So should I waste time using PHP to iterate over the whole object SimpleXML returns checking for these values - or is there a better way?

RSS


Messages In This Thread
Validating a RSS feed - by El Forum - 02-13-2009, 07:47 PM
Validating a RSS feed - by El Forum - 02-13-2009, 08:32 PM
Validating a RSS feed - by El Forum - 02-13-2009, 08:39 PM
Validating a RSS feed - by El Forum - 02-14-2009, 05:04 AM
Validating a RSS feed - by El Forum - 02-14-2009, 12:00 PM
Validating a RSS feed - by El Forum - 02-27-2009, 04:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB