Disable rss feed

There is no option in contentbox to disable rss feed generator.

I’d like to completely remove this feature. I should go with an interceptor?

`
function preProcess( event, interceptData, buffer ) eventPattern="^contentbox-ui"{

getInterceptor(“SES”).removeRoute("/__rss/pages/category/:category?");

}

`

I’d like also to remove rss extension.

`
function preProcess( event, interceptData, buffer ) eventPattern="^contentbox-ui"{

getInterceptor(“SES”).setValidExtensions(“pdf,print,cfm,html”);

}

`

The preprocess event is the right place or is there any better?

HiFrancesco,

Actually, preProcess means on each request, so not sure if that is
applicable. You need something to do this 1 time upon application start.
You can use either
afterConfigurationLoad
afterAspectsLoad