Is there a way to check if a RSS feed www.yournamehere.com/rss.xml exists before trying to load it and then parse it?
This would be much appreciated.
This would be much appreciated.
| Code: |
|
<?php if (($file = @fopen("http://www.yournamehere.com/rss.xml", "r")) == FALSE) { echo "Can't open"; } // Parse RSS feed ?> |