There are 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-09c8f431-598b-4728-b11a-4c31cdda18cd XWIKI-19484 Open

Empty "Wiki Feed RSS" feed

 
View issue   ยท   Add comment
 

3 comments

 
cid:jira-generated-image-avatar-ad5598f7-406a-4fe8-95a8-14e260baa2aa Vincent Massol on 21/Oct/24 16:11
 
For now, what I propose is to quickly fix the "empty wiki feed RSS" issue by replacing the config code with:

{noformat}
#set ($rssURL = $services.rest.url($doc.documentReference))
#set ($rssURL = "${rssURL.substring(0, $rssURL.indexOf('/rest'))}/rest/notifications/rss")
#set ($rssURL = "${rssURL}?userId=$!escapetool.url($services.model.serialize($xcontext.userReference, 'default'))")
#set ($rssURL = "${rssURL}&
count=50& useUserPreferences=false&displayOwnEvents=true")
<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="$rssURL" />
{noformat}

FTR this generates a URL like: {noformat}
<link rel="alternate" type="application/rss+xml" title="Wiki Feed RSS" href="/xwiki/rest/notifications/rss?userId=xwiki%3AXWiki.Admin&useUserPreferences=false&displayOwnEvents=true" />{noformat}
 
cid:jira-generated-image-avatar-ad5598f7-406a-4fe8-95a8-14e260baa2aa Vincent Massol on 21/Oct/24 16:18
 

For the history: the WebRSS.xml page was removed in https://github.com/xwiki/xwiki-platform/commit/179884c3740d02e8df4f2fdb81e16f25daa9d08f#diff-4b4532aa8bd08b31d3ef076440bd8a208a1116cd5f6725f4939bb0679be1248aL1-L126 ie for XWIKI-17471 in XWiki 12.6

 
cid:jira-generated-image-avatar-ad5598f7-406a-4fe8-95a8-14e260baa2aa Vincent Massol on 21/Oct/24 16:19
 
For the history: the WebRSS.xml page was removed in https://github.com/xwiki/xwiki-platform/commit/179884c3740d02e8df4f2fdb81e16f25daa9d08f#diff-4b4532aa8bd08b31d3ef076440bd8a208a1116cd5f6725f4939bb0679be1248aL1-L126 ie for XWIKI-17471 in XWiki 12.6

And the decision to remove it was done in https://www.mail-archive.com/devs@xwiki.org/msg36059.html