Last updated by lucastex 2 years ago
To install the plugin, you can type
grails install-plugin tinyurl
And that's it, it will install the TinyUrl service in your application.
Last updated by lucastex 2 years ago
This plugin provides simple integration with the TinyUrl (http://www.tinyurl.com) service that create small urls from large ones.
Read more here:
http://blog.lucastex.com/2009/03/24/my-tinyurl-plugin-released/Example (after posting in your blog, twitter it!)
Inject the service beanYour actiondef post = new Post(params)
//save your postdef newUrl = tinyurlService.tiny(post.link)//set your twitter status
twitter.post("I've just posted about ${post.title} right here: ${newUrl}")
Last updated by admin 2 years ago
Last updated by admin 2 years ago