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?
How to check if and RSS-feed is "okay"
Moderator: General Moderators
Re: How to check if and RSS-feed is "okay"
When you pull the data, make sure the xml and rss tags exists before parsing it.