Customizing the RSS feed

Because feed entries are rendered using the viewport template, you can customize your RSS feed entries' content and summary fields using template files in your Scroll Viewport theme.

The template for the content must be named blog-feed.vm and the template for the summary must be called blog-summary-feed.vm. They must be located in the root directory of your theme. The content field usually either contains or links to the blog post in question and the summary field is intended for a short abstract or excerpt of the post.

Template code examples

To output the entire blog post in the RSS content field, use the following code in the blog-feed.vm template:

RSS newsfeed features

RSS feed dates are based on the blog post's original publishing date instead of its last modification date. This means RSS readers won't suddenly display an old post at the top where someone recently fixed a typo.

The feed is always rendered as seen by an anonymous (logged-out) user, so it will never contain any restricted blog posts, regardless of whether you're logged into Confluence or not.