Coldfusion MX RSS Feeds

by Josh Highland on December 28, 2005

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.

cfrss Coldfusion MX RSS Feeds

Download the source code here

  • digg Coldfusion MX RSS Feeds
  • facebook Coldfusion MX RSS Feeds
  • stumbleupon Coldfusion MX RSS Feeds
  • twitter Coldfusion MX RSS Feeds
  • delicious Coldfusion MX RSS Feeds
  • reddit Coldfusion MX RSS Feeds
  • friendfeed Coldfusion MX RSS Feeds
  • posterous Coldfusion MX RSS Feeds
  • tumblr Coldfusion MX RSS Feeds

{ 10 comments… read them below or add one }

1 test January 15, 2006 at 12:21 pm

testing

2 test2 January 15, 2006 at 12:22 pm

my second test

3 Kalen Gibbons March 9, 2006 at 10:19 am

Thanks for the Coldfusion tutorial. It was great, keep ‘em coming :)

4 Adam April 28, 2006 at 8:11 pm

Thank you !!

5 Timmy E July 1, 2006 at 10:06 am

Thanks for saving me alot of time…

6 Ron July 1, 2006 at 10:08 am

Coldfusion made simple, cool.

7 Linda July 1, 2006 at 10:08 am

I don’t think coldfusion will ever be “easy” but this helps.

8 Mike December 31, 2006 at 4:06 pm

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?

9 Brandon August 27, 2007 at 7:37 pm

What editor are you using? Homesite?

10 Josh Highland August 28, 2007 at 7:10 am

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.

Leave a Comment

Previous post:

Next post: