Feed feed = feedManager.readFeed(olatResource);
VelocityContainer peekviewVC = createVelocityContainer("peekview");
peekviewVC.contextPut("wrapperCssClass", wrapperCssClass != null ? wrapperCssClass : "");
// add gui helper
FeedViewHelper helper = new FeedViewHelper(feed, getIdentity(), getTranslator(), courseId, nodeId, callback);
peekviewVC.contextPut("helper", helper);
// add items, only as many as configured
List<Item> allItems = helper.getItems(callback);
List<Item> items = new ArrayList<Item>();
for (int i = 0; i < allItems.size(); i++) {
if (items.size() == itemsToDisplay) {
break;
}