ThemeBuilder for Confluence Server and DC

Blog RSS

This macro is used to create an RSS feed of blog posts.

Usage

Storage Format

<ac:macro ac:name="blog-rss">
<ac:parameter ac:name="parameter">value</ac:parameter>
</ac:macro>

Wiki Markup

{blog-rss}
Parameter Name Description Type Default Required

space

Space

A comma separated list of spaces whose posts should be listed (SPACEKEY/@all/@current/@favourite/@global/@personal - default @current)

string

error

teams

Team Labels

A comma separated list of team labels that are used to filter the list of spaces

string

error

label

Label

A comma separated list of labels that are used to filter the list of blogposts

string

error

author

Author

A comma separated list of authors that are used to filter the list of blogposts

string

error

sort

Sort Order

The order that the posts should be listed in (creation/modified/recent - default creation)

enum

recent

error

reverse

Reverse

List the blogposts in reverse order (default=true - oldest first)

boolean

true

error

count

Count

The number of posts that should be displayed (default = all)

string

error

dateFormat

Date Format

Format that dates should be displayed in (default=defined by confluence settings)

string

error

feedTitle

Feed Title

The title of the rss feed

string

error

feedDesc

Feed Description

The description of the rss feed

string

error

none

None

Text to display when no posts have been found

string

error

flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string

error

notflag

Not Flag

A list of flags which must not be defined for the content to be displayed

string

error

Example

Generate an RSS feed of all blog posts on a site.

<ac:macro ac:name="blog-rss">
<ac:parameter ac:name="space">@all</ac:parameter>
</ac:macro>
{blog-rss:space=@all}

Result

blog rss 01