I am a web developer by trade. I write a lot of ColdFusion code for my job, I write a lot of PHP in my spare time. Being involved in both the CF and PHP communities, I have seen an overwhelming number of tutorials for things like generating RSS feeds using PHP, but not too many geared towards CF developers.
Here is some quick and dirty code that I wrote using CF MX to generate an RSS feed using some data that I had stored in a MS SQL database.














{ 10 comments… read them below or add one }
testing
my second test
Thanks for the Coldfusion tutorial. It was great, keep ‘em coming
Thank you !!
Thanks for saving me alot of time…
Coldfusion made simple, cool.
I don’t think coldfusion will ever be “easy” but this helps.
I just recently stumbled upon this article and found it very useful for creating an rss feed for my ColdFusion based site however I did notice that it doesn’t work with FireFox 2.0 or Opera 9.
I get the folling error with FF 2 and Opera 9:
XML Parsing Error: xml declaration not at start of external entity
I tried using cfproccessingdirective to suppress white space however it doesn’t fix the problem.
Any ideas?
What editor are you using? Homesite?
at the time I think I wrote this in coldfusion studio, haha! I have moved on to use CF Eclipse. There has been a learning curve, but its getting easier now.