<cfscript>
// Use feedservice to READ an RSS feed (XML)
try {
f = new feed();
rsFeed = f.read(source="http://path.to/feed").Query;
}
catch (any excpt) {
rsFeed = "";
}
finally {
// Use WriteDump to display the result query to fine tune what you want to output
WriteDump(rsFeed);
//Use this to output the resulting feed wherever you want
if (isQuery(rsFeed)) {
for (i = 1; i <= rsFeed.RecordCount; i++) {
WriteOutput('<p>
<a href="' & rsFeed["rssLink"][i] & '">' & rsFeed["Title"][i] & '</a><br />
<small class="nowrap">' & DateFormat(rsFeed["PublishedDate"][i], "mmm d, yyyy") & '</small>
</p>');
}
} else {
WriteOutput('<p>Feed is temporarily unavailable.</p>');
}
}
</cfscript>