General Actions:
Log-in
Wiki:
Courses
▼
:
Document Index
»
Space:
Main
▼
:
Document Index
»
Page:
TagsRss
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to L3D's XWiki for Courses
»
RSS Feeds
»
Tags RSS Feed
Wiki source code of
Tags RSS Feed
Last modified by
Administrator
on 2009/09/08 18:00
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: {{velocity}} 2: #if("$!{request.xpage}" == 'plain' && "$!{request.outputSyntax}" == 'plain') 3: ## 4: ## Build document list. 5: ## 6: #if("$!request.tag" != '') 7: #set($sql = ", BaseObject as obj, DBStringListProperty as prop join prop.list item where obj.name=doc.fullName and obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags' and lower('$request.tag') = lower(item)") 8: #set ($title = $msg.get('xe.tag.rss.tag.title', [$request.tag])) 9: #set ($description = $msg.get('xe.tag.rss.tag.description', [$request.tag])) 10: #else 11: #set($sql = ", BaseObject as obj, DBStringListProperty as prop where obj.name=doc.fullName and obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags' and size(prop.list) > 0") 12: #set ($title = $msg.get('xe.tag.rss.tags.title')) 13: #set ($description = $msg.get('xe.tag.rss.tags.description')) 14: #end 15: ## 16: ## Build feed. 17: ## 18: #set ($list = $xwiki.searchDocuments($sql , 20 , 0)) 19: #set ($feed = $xwiki.feed.getDocumentFeed($list, $util.getHashMap(), $util.getHashMap())) 20: #set ($feedURI = $xwiki.getDocument("Main.WebHome").getExternalURL("view")) 21: #set ($discard = $feed.setLink($feedURI)) 22: #set ($discard = $feed.setUri($feedURI)) 23: #set ($discard = $feed.setAuthor('XWiki')) 24: #set ($discard = $feed.setTitle($title)) 25: #set ($discard = $feed.setDescription($description)) 26: #set ($discard = $feed.setLanguage($context.language)) 27: #set ($discard = $feed.setCopyright($xwiki.getXWikiPreference('copyright'))) 28: $xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0')) 29: #end 30: {{/velocity}}
Welcome
Welcome to this XWiki!
Quick Links
DSSF 2008
DCNM 2009
HCCF 2010
Document Index
Sandbox
My Recent Modifications
ASSIGNMENTNAME