Blog

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

I have just posted a new plugin for ColdBox called rssGenerator. You can download the plugin pack from the code depot. This plugin is based on the idea of coldfusion 8's cffeed but for any CFMX engine. It will take a standardized structure and convert it into an RSS 2.0 feed. Also, since cffeed offers a capability called column mapper, then so does this plugin. You can pass an optional structure that maps your query's columns to the feed's standard names. That way, you can aggregate any query by just mapping its columns to the feed. Soooo easy!!

In most cases, a database table uses column names that differ from the column names you must use to create the feed. Therefore, you must use the columnmap attribute to map the input query column names to the required column names.

SELECT * FROM orders Is that cool or what? You can also have a third argument which is a file location. If this location is sent, the plugin will save the generated feed xml into that file and still return to you the feed xml. How easy would this be? That's it! Again, to download this plugin go to the ColdBox code depot section of the wiki.

Add Your Comment

Recent Entries

Into the Box 2024 Last Early Bird Days!

Into the Box 2024 Last Early Bird Days!

Time is ticking, with less than 60 days remaining until the excitement of Into the Box 2024 unfolds! Don't let this golden opportunity slip away; our exclusive Early Bird Pricing is here for a limited time only, available until March 31st. Why wait? Secure your seat now and take advantage of this steal!

Maria Jose Herrera
Maria Jose Herrera
March 20, 2024
Ortus February Newsletter 2024

Ortus February Newsletter 2024

Welcome to Ortus Solutions’ monthly roundup, where we're thrilled to showcase cutting-edge advancements, product updates, and exciting events! Join us as we delve into the latest innovations shaping the future of technology.

Maria Jose Herrera
Maria Jose Herrera
March 06, 2024
Unveiling the Future of CFML Development - 3rd Round of Sessions

Unveiling the Future of CFML Development - 3rd Round of Sessions

Welcome back to our journey into the future of CFML development! As excitement continues to build for Into the Box 2024, we're thrilled to bring you the latest updates on what promises to be a transformative event. Continuing our blog post series, let's delve deeper into the third wave of session releases and discover the key surprises awaiting attendees. Learn More

Maria Jose Herrera
Maria Jose Herrera
March 01, 2024