This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset csv = io.queryToCSV(query=qMyQuery,fields="field1,field2,field3,...")> | |
<cfheader name="Content-disposition" value="attachment;filename=MyCSVFile.csv"> | |
<cfcontent type="text/csv"> | |
<cfoutput>#csv#</cfoutput> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cffunction name="getFeedByRestrictGroups" output="false"> | |
<cfargument name="restrictGroups" required="true"> | |
<cfargument name="maxItems" default="20"> | |
<!--- Get the feed object by name ---> | |
<cfset var feed = $.getBean("feed")> | |
<cfset var item = ""> | |
<cfset feed | |
.setSortBy("OrderNo") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfsetting showdebugoutput="false"> | |
<!--- Here is some html content with iframes ---> | |
<cfset sOriginalContent = " | |
<h3>Title Here</h3> | |
<pHere is a paragraph</p> | |
<iframe width=""560"" height=""315"" src=""//www.youtube.com/embed/B7UmUX68KtE"" frameborder=""0"" allowfullscreen></iframe> | |
<p>another paragraph</p> |
NewerOlder