General Actions:
Log-in
Register
Wiki:
games
▼
:
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
Wiki Home
»
The Wiki Blog
»
Global Blog RSS feed generator
Wiki source code of
Global Blog RSS feed generator
Last modified by
Administrator
on 2011/11/06 20:09
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}}