Daniel,

On 11/15/05, daniel kessler <[EMAIL PROTECTED]> wrote:
> ><cfsetting enablecfoutputonly="true"/>
> ><cfsetting showdebugoutput="false"/>

Insert your processing code here.  You don't have to use cfscript
syntax.  Just put a <cfsavecontent variable="feed"> tagset around
anything you're outputting.

> ><cfcontent type="text/xml">
> ><cfscript>
> >writeoutput(feed); </cfscript>
>

If the cfscript syntax is confusing, you can always do:

<cfcontent type=-"content/type">
<cfoutput>#feed#</cfoutput>

The trick is to make sure that CF doesn't generate whitespace at the
top of your rss feed.  That will usually kill a service that consumes
your rss feed.  That's what the cfsetting enablecfoutputonly=true at
the top does.  Only things within a cfoutput tag will be displayed.




> ok I'm having trouble with this.  I don't know how to use the database 
> information within cfscript.  I can't use <cfoutput query="retrieve_xml">.  I 
> tried a FOR loop, using ECMA but that didn't seem to work.  Just not sure 
> where to go from here.
> Also, it doesn't seem to ask for a file name anywhere so how does it know 
> where it goes?  I'd usually put that in the cfcontent tag.  Should I add that 
> to the above code?
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224198
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to