News module
The News module shows the most recent Confluence blog posts from one or more spaces. You can use this module on a help site to show a product’s latest features, as we have done on the Refined for Cloud landing page.
Add this module to a page
This module is only available if you have Refined for Confluence Cloud.
All Refined Pages, Confluence spaces, Jira Software projects and JSM projects that you add in the Site Builder get their own landing page on your Refined site. Modules are the building blocks of these pages.
Go to the Page Builder.
Hover your mouse over the desired location on the page and click the + Add module button that appears.
Click News in the left-hand menu.
Edit the title
Simply click the module’s title to start writing and formatting. You can use text variables to make the text dynamic, for example to display the user’s first name.
Edit the settings
Select the module to see its menu, which appears on its right-hand side.
Click the Cogwheel.
Edit the settings, which are divided over multiple tabs:
Module tab
Setting | Description |
---|---|
Fixed height | By default, all modules adjust their size to their content. To set a fixed height instead, fill in the desired height in pixels. |
News tab
Setting | Description |
---|---|
Display style |
|
Avatars | Show or hide the blog authors' avatars (profile pictures). Users set up their avatars in their Atlassian account. |
Number of items | Enter the amount of blog posts you want to show by default. Users can always click a button to load more, except when the Display style is set to Slideshow. |
Filter | Filters let you narrow down which blog posts from your site's Confluence spaces to show.
|
Filter by label | Enter a label to include only the blog posts that have that label in Confluence. Add a dash ( - ) in front of a label to exclude its blog posts. Separate multiple labels with commas. |
Filter by space | Decide which spaces to include:
|
Filter by author | Enter a creator’s Account ID to include their blog posts. A user’s Account ID can be found in the URL of their Atlassian profile. For example, in a URL ending with wiki/people/62f636d425abc07e51c8b330, the bold string of letters and numbers is the user’s Account ID. Add a dash ( - ) in front of a Account ID to exclude that user’s activity. Separate multiple IDs with commas. To show only blog posts from the user viewing the page, use CQL (Advanced filter) with the function currentUser(). |
Filter with CQL | Use CQL to show specific blog posts. Use "type = blogpost". Make the filter dynamic with text variables. For example, show blog posts that the user added: type = blogpost AND creator = $username ORDER BY created DESC |
Images
By default, the module shows an image from the blog post. To set a custom image, add it to the blog post’s metadata.
Images are shown in a 4:3 portrait (vertical) format. We recommend using images that are at least 800x600 pixels.
Description
By default, the module shows the blog post’s first 250 characters. To set a custom description, add metadata to the blog post.