The WordPress plugin provides tags for pulling content from wordpress for display in grails. ehcache is used to cache wordpress content for a 5 minute period.
Configuration is a piece of cake:
wordpress.url='http://myblog.wordpress.org/xmlrpc.php' wordpress.blogId=0 wordpress.username='myapp' wordpress.password='grailsrocks'
Then, display a list of your WordPress categories:
<wordpress:getCategories />
or display the latest posts by saying:
<wordpress:getRecentPosts count="5" />
And so on… Read the full story on the plugin page at grails.org.
Diese Beiträge könnten Sie noch interessieren:
- MBCalendar
- New WordPress plugin: MBCalendar
- Do you want to know who is near you?
- This blog is now iPhone-ready!
- Feed normalizer allows ATOM syndication in Joomla
Berater, Coach und Trainer für effektive Produktentwicklung