ThemeBuilder for Confluence Server and DC

Include BlogPost

This macro includes the content of a blogpost in a page or skin.

Usage

Storage Format

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

Wiki Markup

{include-blog:parameter=value}
Parameter Name Description Type Default Required

blog

Blogpost

The blog post to include in year/month/day/title format

string

error

space

Space

The space in which the blog can be found (default = current space)

spacekey

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

Panel Example

Include the content of a blog post in a ThemeBuilder skin.

<ac:macro ac:name="include-blog">
<ac:parameter ac:name="blog">2013/05/09/Decorator Test</ac:parameter>
<ac:parameter ac:name="space">AD</ac:parameter>
</ac:macro>
{include-blog:blog=2013/05/09/Decorator Test|space=AD}

Result

By adding the 'include-blog' macro to a ThemeBuilder panel you can show a blogpost as part of your theme. This example shows the macro in the 'content' panel.

include blogpost 01

The Blogpost in theme:

include blogpost 02

Page Example

Use the macro browser to add the 'include-blog' macro in a page. Add the Blog post date/name and the space key. You can find the blog post date/name and spacekey in the address bar when viewing the post.

include blogpost 03

Macro Browser

include blogpost 04

Result

The Blog post content is shown in the page.

include blogpost 05