freemarker实现rss订阅
?
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title><![CDATA[我的小站]]></title><link>http://leaf.jdk.cn/</link><description><![CDATA[泡出好心情,泡出好技术]]></description><language>zh-cn</language><copyright><![CDATA[Copyright 2006 PaoPao v4.0]]></copyright><webMaster><![CDATA[rory.cn@gmail.com (Rory Ye)]]></webMaster><generator>PaoPao v4.0</generator> <image> <title>我的小站</title> <url>http://leaf.jdk.cn/logo.gif</url> <link>http://leaf.jdk.cn</link> <description>莫多泡泡2006</description> </image> <#list blogs as blog> <item> <link>http://leaf.jdk.cn/entry.action?entryId=${blog.id}</link> <title><![CDATA[${blog.title}]]></title> <author>${blog.authorMail}(${blog.author})</author> <category><![CDATA[ ${blog.categories} ]]></category> <pubDate>${blog.pubDate}</pubDate> <guid>http://leaf.jdk.cn/entry.action?id=${blog.id}</guid> <description><![CDATA[${blog.content}]]></description> </item> </#list></channel></rss>