Confluence 2.7 Temp Archive : Blog Posts Macro
This page last changed on Oct 16, 2007 by smaddox.
The Blog Posts Macro allows you to display news items within a page. Clicking on a title takes you to the news item. Blog Posts Macro
Optional Parameters
Examples of Optional Parameters1. Specify the number of posts you want displayed {blog-posts:1} 2. Display the content in its entirety, as short excerpts, or as a list of titles Excerpts {blog-posts:content=excerpts} Titles {blog-posts:content=titles} 3. Choose from how far back in time you want items displayed For example, "time=12h" would display those items created in the last twelve hours, and "time=7d" would show items made in the last week. (The default is no limit) Hours {blog-posts:time=12h} Days {blog-posts:time=7d} 4. Filter items using labels
The following code will display items that contain either of the labels, 'atlassian' or 'confluence' {blog-posts:labels=atlassian,confluence|}
The following code will display content with both labels 'atlassian' and 'confluence' {blog-posts:labels=atlassian,confluence|match-labels=all} 5. Filter items using spaces
6. Filter items by combining parameters The following code will display the latest 10 items in the 'Marketing' space with the label 'logo'. The items will be displayed as a list. {blog-posts:10|labels=logo|spaces=MKT|content=title} RELATED TOPICSWorking with Macros Take me back to Confluence User Guide |
![]() |
Document generated by Confluence on Dec 20, 2007 19:04 |