Show last authors
1 {{include reference="Blog.RssCode"/}}
2
3 {{include reference="Blog.CategoriesCode"/}}
4
5 {{velocity filter="none"}}
6 #if("$!{request.xpage}" == 'plain' || "$!{request.xpage}" == 'rdf')
7 $response.setContentType('application/rss+xml')
8 {{html clean="false" wiki="false"}}
9 ##
10 ##
11 ##
12 #macro(getTargetCategory $categoryDoc)
13 #set($category = "$!{request.category}")
14 #if($category == '')
15 #if("$!doc.getObject($blogCategoryClassname)" != '' || $doc.getObject('XWiki.DocumentSheetBinding').sheet == 'Blog.CategoriesSheet')
16 #set ($category = $doc.fullName)
17 #else
18 #set($category = $defaultCategoryParent)
19 #end
20 #end
21 #set ($categoryDoc = $NULL)
22 #setVariable ("$categoryDoc" $xwiki.getDocument($category))
23 #end
24 #getTargetCategory($categoryDoc)
25 #set($tempCategoryDoc = $categoryDoc)
26 #getEntriesForCategory($tempCategoryDoc.fullName $entries $totalEntries)
27 #set($categoryDoc = $tempCategoryDoc)
28 #set($entries = $xwiki.wrapDocs($entries))
29 #displayBlogCategoryRss($categoryDoc $categoryDoc $entries)
30 {{/html}}
31 #end
32 {{/velocity}}

Get Connected