General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
Blog
▼
:
Document Index
»
Page:
GlobalBlogRss
Search
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
The Wiki Blog
»
Global Blog RSS feed generator
Wiki source code of
Global Blog RSS feed generator
Last modified by
Administrator
on 2012/03/21 17:41
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
{{include document="Blog.BlogCode"/}} {{velocity filter="none"}} #if("$!{request.xpage}" == 'plain' || "$!{request.xpage}" == 'rdf') $response.setContentType('application/rss+xml') {{html clean="false" wiki="false"}} #getBlogDocument($doc.space $blogDoc) #getBlogTitle($blogDoc $title) #set($feedMetadata = { "title": $title, "description": "Most recent blog posts in the wiki", "url": $xwiki.getDocument('Main.WebHome').externalURL }) #getBlogEntriesBaseQuery($query) $xwiki.feed.getBlogFeedOutput("${query} order by publishDate.value desc", 10, 0, $feedMetadata, 'rss_2.0') {{/html}} #end {{/velocity}}
Recent Blog Posts
First blog post
Blog Categories
News
(1)
Other
(0)
Personal
(0)
Blog Archive
2009
(1)