How to check if and RSS-feed is "okay"
Posted: Wed Jun 18, 2008 6:41 am
Hi!
I'm trying to create an RSS-parser, which would load RSS-feeds from local newspapers and parse them according to rules. The only problem is, sometimes those feeds are down and I have no idea of knowing are they online. I tried file_exists but that didn't work. Also tried some code(s) I found googling but they were not so good. So, is there a way to check if an RSS feed is online before I start processing it?
I'm trying to create an RSS-parser, which would load RSS-feeds from local newspapers and parse them according to rules. The only problem is, sometimes those feeds are down and I have no idea of knowing are they online. I tried file_exists but that didn't work. Also tried some code(s) I found googling but they were not so good. So, is there a way to check if an RSS feed is online before I start processing it?