Confluence 2 User Guide : Blog Posts Macro
This page last changed on Jan 02, 2007 by rosie@atlassian.com.
Blog Posts Macro
Optional Parameters
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:5|content=excerpts} Titles {blog-posts:5|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 a user name
The following code will display the first 10 items posted by a user. {blog-posts:10|spaces=~username} 6. Filter items by combining parameters The following code will display the first 10 items posted by a user from a particular space as a list. {blog-posts:10|spaces=space name,~username|content=title} RELATED TOPICSWorking with Macros Take me back to Confluence 2 Home |
![]() |
Document generated by Confluence on May 01, 2007 02:36 |