Changes for page Database Search
Last modified by Florent Charton on 2024/08/08 18:44
From version 2.1
edited by Florent Charton
on 2024/08/08 18:44
on 2024/08/08 18:44
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-ui/15.10.11]
To version 1.1
edited by superadmin
on 2022/06/20 08:49
on 2022/06/20 08:49
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-search-ui/13.10.6]
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 - xwiki:XWiki.fcharton1 +XWiki.superadmin - Content
-
... ... @@ -82,8 +82,8 @@ 82 82 #set ($discard = $feed.setDescription($services.localization.render('search.rss', [$text]))) 83 83 #set ($discard = $feed.setLanguage("$xcontext.locale")) 84 84 #set ($discard = $feed.setCopyright($xwiki.getXWikiPreference('copyright'))) 85 - #set ($ feedOutput= $xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0')))86 - #rawResponse($feedOutput,'application/rss+xml')85 + #set ($discard = $response.setContentType('application/rss+xml')) 86 + {{{$xwiki.feed.getFeedOutput($feed, $xwiki.getXWikiPreference('feed_type', 'rss_2.0'))}}} 87 87 #else 88 88 {{include reference="XWiki.Results"/}} 89 89