Skip to content

Instantly share code, notes, and snippets.

@ronnieduke
Forked from stevewithington/remoteFeedIterator.cfm
Created February 16, 2014 22:57
Show Gist options
  • Save ronnieduke/9041834 to your computer and use it in GitHub Desktop.
Save ronnieduke/9041834 to your computer and use it in GitHub Desktop.
<section>
<h2>Mura CMS</h2>
<cffeed query="rs" source="http://www.getmura.com/tasks/feed/?feedID=91B4E7A5-37AC-466A-ACDF6ABFD95ACCBD" />
<cfset it = $.getBean('beanIterator').setQuery(rs) />
<ul>
<cfif it.hasNext()>
<cfloop condition="it.hasNext()">
<cfset item = it.next()>
<li>
<a href="#item.getValue('rsslink')#">
#HTMLEditFormat(item.getValue('title'))#
</a>
#item.getValue('content')#
<!--- <cfdump var="#item.getAllValues()#" /> --->
</li>
</cfloop>
<cfelse>
<li>No items exist.</li>
</cfif>
</ul>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment