Created
February 20, 2012 19:46
-
-
Save marcpalmer/1870981 to your computer and use it in GitHub Desktop.
Email Confirmation Plugin Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class YourController { | |
def feed = { | |
render(feedType:"rss", feedVersion:"2.0") { | |
title = "My test feed" | |
link = "http://your.test.server/yourController/feed" | |
description = "The funky Grails news feed" | |
Article.list().each() { article -> | |
entry(article.title) { | |
link = "http://your.test.server/article/${article.id}" | |
article.content // return the content | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment