Camen Design Forum

How to get latest posts

Jos

There is no point in attaching a screenshot. Your implementation will look different.
My templating system just prints out entryes from an array. I'm on fatfreeframework (f3) and use bootstrap 3
My code looks like . You should get the idea

%HTML
<repeat group="{{ @latestfeeds}}" value="{{ @item }}" counter="{{ @ctr }}">

    <small>
     <p><a href="{{@item->link}}">{{@item->title}}</a></p>
     <p>{{@item->description}}</p>
     <p><i>Af {{@item->author}}</i></p>
          <HR class="feeds">
   </small>
   
  </repeat>
%

Append

(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn