Quantcast
Channel: check valid xml and then response time of rss-feed - Stack Overflow
Browsing index pages (3 articles)
↧

check valid xml and then response time of rss-feed

I'm reading a rss feed and check I'm want to know how much time its taken to call $homepage = file_get_contents('http://www.forbes.com/news/index.xml'); for this I'm using <?php $start =...

View Article


Answer by GordonM for check valid xml and then response time of rss-feed

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...

View Article


Answer by Gordon for check valid xml and then response time of rss-feed

Checking whether a URL is valid is a different thing than checking whether the XML is valid. When you try to load an invalid URL, the error is usually something like failed to open stream:...

View Article
Browsing index pages (3 articles)


Latest Images