2. Confluence Docs 3.0 : Linking to News This page last changed on Dec 12, 2007 by smaddox. This page tells you how to link to a news item. You can also read about including blog posts on your page. You need to edit in 'Wiki Markup' mode to create a link to a news item. To link to a news item, You need to know the title of the news item as well as the date on which it was created. Convert the date into the format: year/month/day. You can now create a link to the news item, like this:
   What you need to type | What you will get
   --- | ---
   [/2007/06/25/Sample News\] | Sample News
Where: '/2007/06/25' is the date the news item was published. 'Sample News' is the title of the news item. ### Examples of Use You have three options: ##### 1. Directly providing the URL (absolute path)
    [http://confluence.atlassian.com/display/DOC/2007/06/25/Sample+News]
http://confluence.atlassian.com/display/DOC/2007/06/25/Sample+News ##### 2. Including the alias as well
    [my blog|http://confluence.atlassian.com/display/DOC/2007/06/25/Sample+News]
my blog ##### 3. Using the relative path (on the same server) Note: You must provide the entire path to the news item.
    [my blog|DOC:2007/06/25/Sample News]
my blog ##### You can also link to a whole day's news items, just by leaving out the news item's title at the end of the link.
    [my blog|DOC:2007/06/25]
my blog
| You must create the news item first Linking to a news item that has not been created yet will not result in a link. News items are very tightly bound to the time at which they were created, soit makes no sense to link to them before they exist.
To link to a list of news items within a given space, You need to know the key of the space.
What you need to type | What you will get
--- | ---
[news|http://myConfluenceURL/pages/viewrecentblogposts.action?key=ABC] | news
Where: 'myConfluenceURL' is the URL address of your Confluence system, e.g. 'confluence.mycompany.com'. 'ABC' is the key of the relevant space..
| Try the Blog Posts macro for an in-page display of news items If you'd rather show a dynamic list of news items on your page, instead of a link to the news items, try the Blog Posts macro.
##### RELATED TOPICS Working with News Overview Working with Links Overview Blog Posts Macro Take me back to Confluence User Guide

Document generated by Confluence on Nov 05, 2009 23:35