Videos Lister Page

@BRT.Index(tableId:"Content",viewId:"Video",
fields:new[] {"Title","Body","PrimaryImage","PubDate"},
pageSize: 50,
itemTemplate:
@<div>
    @if (item.GetFiles("PrimaryImage").Count==1) {
        <a href="/videodetail/@item.Href">
            <img src="@item.GetFiles("PrimaryImage")[0].Url?width=180&height=180&mode=crop" alt="@item["Title"]" />
        </a>
    }
    <h4><a href="/videodetail/@item.Href">@item.GetString("Title")</a></h4>     
    @if(!@item.IsDBNull("PubDate")){
        <p>@item.GetDateTime("PubDate").ToString("MMMM dd, yyyy")</p>
    }        
    <div>@item.GetString("Body").Summarize(290)</div> 
    <hr/>    
</div>)