Skip to content

Instantly share code, notes, and snippets.

@ronnieduke
Created October 26, 2015 17:29
Show Gist options
  • Save ronnieduke/6af7d05cb64ba377dfbb to your computer and use it in GitHub Desktop.
Save ronnieduke/6af7d05cb64ba377dfbb to your computer and use it in GitHub Desktop.
Basic Mura Iterator
<cfset feed=$.getBean("feed").loadBy(name="Feed Name",siteID=$.event("siteid"))>
<cfset it=feed.getIterator()>
<cfif it.hasNext()>
<div>
<cfloop condition="it.hasNext()">
<cfset item=it.next()>
<p>looped content here</p>
</cfloop>
</div>
</cfif>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment