Syntax rss feed
Asked by Christian Christian:

Hi guys!

Similar question like for the profile picture macro. Does someone know how to use the rss feed macro in a page which does not support the new macro editor in conflunce 4? like {rss-feed\|url=...}

thanks,  
Christian


Answers:
author: Remo Siegwart
body: Parameters {#toc-hId-1651138093}
--------------------------------

\<th class="confluenceTh" style="padding-top: 5px; padding-right: 7px; padding-bottom: 5px; padding-left: 7px; text-align: left; vertical-align: top; font-size: 10pt; line-height: 13pt; color: #000000; min-width: 0.6em; background-color: #f0f0f0; border-width: 1px; border-color: #dddddd; border-style: solid; margin: 0px;"\>

Parameter
\</th\>\<th class="confluenceTh" style="padding-top: 5px; padding-right: 7px; padding-bottom: 5px; padding-left: 7px; text-align: left; vertical-align: top; font-size: 10pt; line-height: 13pt; color: #000000; min-width: 0.6em; background-color: #f0f0f0; border-width: 1px; border-color: #dddddd; border-style: solid; margin: 0px;"\>

Required?
\</th\>\<th class="confluenceTh" style="padding-top: 5px; padding-right: 7px; padding-bottom: 5px; padding-left: 7px; text-align: left; vertical-align: top; font-size: 10pt; line-height: 13pt; color: #000000; min-width: 0.6em; background-color: #f0f0f0; border-width: 1px; border-color: #dddddd; border-style: solid; margin: 0px;"\>

Default
\</th\>\<th class="confluenceTh" style="padding-top: 5px; padding-right: 7px; padding-bottom: 5px; padding-left: 7px; text-align: left; vertical-align: top; font-size: 10pt; line-height: 13pt; color: #000000; min-width: 0.6em; background-color: #f0f0f0; border-width: 1px; border-color: #dddddd; border-style: solid; margin: 0px;"\>

Description
\</th\>

|----------------------------------------------|-----|-------|----------------------------------------------------------|
| **RSS Feed URL** (`url`)                     | yes | none  | The URL of the RSS feed link you want to show.           |
| **Maximum Number of Entries** (`max`)        | no  | 15    | Limit the number of entries displayed.                   |
| **Show Item Titles Only** (`showTitlesOnly`) | no  | false | Show only the titles of the news items, not the content. |
| **Show Name/Title of RSS Feed** (`titleBar`) | no  | true  | Hide the feeds title bar.                                |

Examples {#toc-hId--901018868}
------------------------------

#### 1. Limit the number of entries displayed {#toc-hId-448764457}

|---------------------------------------------|
| `{rss:url=http:``//host.com/rss.xml|max=5}` |

#### 2. Show only the RSS feed titles {#toc-hId--2103392504}

|-----------------------------------------------------------|
| `{rss:url=http:``//host.com/rss.xml|showTitlesOnly=true}` |

#### 3. Hide the feeds titlebar {#toc-hId--360582169}

|------------------------------------------------------|
| `{rss:url=http:``//host.com/rss.xml|titleBar=false}` |

Find more information in the [documentation of the RSS feed macro for Confluence 3.5](http://confluence.atlassian.com/display/CONF35/RSS+Feed+Macro).

comments: author: Christian Christian
body: Hi!

Thanks - is it possible to say that all macros which do exist in 3.5 do have the same syntax in 4.0?


author: Remo Siegwart
body: It's not guaranteed that all macros have the same syntax, but you should be safe to assume that most of them have.