Have you ever wished you could list news items from more than one space with the {blog-posts} macro? Sure, you can use the {rss} macro, but it's not very pretty. The Reporting Plugin provides a way to get the best of both worlds.
First, we want this report to be fairly free-flowing, so we'll use a Report Block format. We only want to display the 5 most recent items too, so we'll specify that here:
{report-block:maxResults=5}
Then, prepare the content-reporter to find news from all spaces, sorted by modification date in descending order:
Next, we will add a body section which will only get displayed when the day (not the time) of the blog post changes between items.
Firstly, we add a repeat-filter, which will check if the current value is repeated from the previous value with the same name. We supply a custom format which will only output the month, day and year. This means variations in the time of the post will not be compared.
{repeat-filter:content:modification date > MMMM d, yyyy}
Next, we define the report-body section which will only get output when the modification date is not repeated.