Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Include RSS-Feed into ColdFusion powered Website
<cfset rssUrl = "http://itfee.de/feed">
<cffeed action="read" source="#rssUrl#" query="entries" properties="info">
<cfoutput query="entries" maxrows="3">
<div id="news">
<div id="datum">
<cfset stringtoreplace = #DateFormat(publisheddate,"dd. mmmmm yyyy")#>
#ReplaceList(stringtoreplace, "January,February,March,May,June,July,October,December", "Januar,Februar,M&auml;rz,Mai,Juni,Juli,Oktober,Dezember")#
</div>
<div id="headline">#title#</div>
<div id="text">#content# <a href="#rsslink#">Weiterlesen</a></div>
</div>
</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment