WebProNews is running an article by Ben Cortese entitled Consuming RSS Feeds With ColdFusion, a good basic introduction to working with RSS in ColdFusion.
WebProNews is running an article by Ben Cortese entitled Consuming RSS Feeds With ColdFusion, a good basic introduction to working with RSS in ColdFusion.
It is a good article.
The only thing I would have added to his example (while still keeping things simple) would be to wrap both the <cfhttp> call and the xmlParse function tag in separate <cftry> blocks with a <cfcatch> block that displays one error message if the feed is unavailable and a different error message if the feed is malformed. Even the professionally-produced news feeds can go awry from time to time.
Leave a Reply