RSS Feeds plugin for Grails released
I’ve finally managed to release the Grails Feeds Plugin I mentioned in my Grails Exchange 2007 talk.
What this plugin does is make it trivial for you to generate syndication feeds (RSS or Atom or any ROME supported format) from within your grails apps.
It supplies a FeedBuilder which uses a simple but flexible DSL for generating a feed data structure, and adds support to the controllers’ render() method to automatically take a feed DSL as input.
Check out the docs and install it into your app today (well as soon as plugins.grails.org DNS for SVN works again).
Docs are here.
Update: DNS issues resolved. You can install the plugin into your grails 1.0 application using: "grails install-plugin feeds"
No related posts.
Sounds great, based on ROME shows the power of Groovy.
I dont see a download anywhere, I assume that is the DNS issue?
It seems like this should be part of the core Grails install (along with REST out of the box), is that planned?
Ian – no download required. Just type:
grails install-plugin feeds
…and it will install it into your project.
Vis integrating into core, maybe but I doubt it. We want to keep core as minimal as possible.
Marc, thanks i did the install ok.
Core was the wrong word, I meant to say core as in default install package, so this plugin comes with the default download.
Great work.
Is there anyway this could work outside grails just as a groovy code?
David: Yes but not with the dynamic Render method obviously. Just use the FeedBuilder directly as shown in the code examples on the grails.org document site.