Iterating Remote Feeds

The process for looping through remote RSS feeds is a little different than with regular Mura collections and iterators.

To access and loop through a remote RSS feed, you will need to utilize code similar to that shown here:

<cffeed query="rs" source="http://myremotefeed.com/feed/" />
<cfset iterator = $.getBean('beanIterator').setQuery(rs) />
<cfif interator.hasNext()>
    <cfloop condition="iterator.hasNext()">
        ...
    </cfloop>
    ...
</cfif>

Last updated

Was this helpful?