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

Partner with BoxLang and Ortus at Into the Box 2025: Empowering the Future of Modern Software Development!

Partner with BoxLang and Ortus at Into the Box 2025: Empowering the Future of Modern Software Development!

At Ortus Solutions, we’ve always been at the forefront of innovation in the ColdFusion ecosystem. From pioneering modern ColdFusion practices to developing cutting-edge tools and frameworks, we’ve been passionate to help and sup[port the community into shaping the future of web development.That’s why we decided to build BoxLang, our new JVM programming language that not only builds on the strengths of ColdFusion but takes modern software development to the next level.

Maria Jose Herrera
Maria Jose Herrera
December 23, 2024
Why BoxLang When You Have Kotlin, Groovy, Scala, and more…

Why BoxLang When You Have Kotlin, Groovy, Scala, and more…

As we approach a stable release of BoxLang and our continued marketing reaches more folks, many have asked about its purpose. Why create a new language when the JVM ecosystem already includes established languages like Kotlin, Groovy, and Scala, to name a few.

Luis Majano
Luis Majano
December 18, 2024