Skip to content

Instantly share code, notes, and snippets.

@aertmann
Created January 9, 2015 11:24
Show Gist options
  • Select an option

  • Save aertmann/074b705d112a48de4dec to your computer and use it in GitHub Desktop.

Select an option

Save aertmann/074b705d112a48de4dec to your computer and use it in GitHub Desktop.
root {
rss {
position = 'before format'
condition = ${request.parentRequest.uri.path == '/rss.xml'}
renderPath = '/rss'
}
@cache {
entryIdentifier {
path = ${request.parentRequest.uri.path}
}
}
}
-
name: 'RSS Feed'
uriPattern: '{node}rss.xml'
defaults:
'@package': 'TYPO3.Neos'
'@controller': 'Frontend\Node'
'@action': 'show'
'@format': 'xml'
routeParts:
'node':
handler: 'TYPO3\Neos\Routing\FrontendNodeRoutePartHandlerInterface'
options:
onlyMatchSiteNodes: TRUE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment