2010
17.08

From ISite version 6.1.1, there will now be easily possible to list any RSS or Atom feed directly on a page.

This is internally implemented using the Rome Feed API.

The following code will list the 4 last entries from our homepage :

<@feed url="http://www.workplace.no/feed.xml" count=4; feedEntry>
    <#if feedEntry?has_content>
    <h2>${feedEntry.getTitle()?html}</h2>
    <p>
    ${feedEntry.getDescription().getValue()}
    </p>
    </#if>
</@feed>

It doesn't get much simpler than that :)