local entry = model local entryUnread = entry:getRenderUnread() local showSeparator = not (entryUnread or nextEntryUnread) local feed = entry:getFeed() local title = escape(entry:getTitle()) or "" local sortTitle = string.lower(title) --FIX: Too simplistic. See old sortStringForArticleTitle() local alternateURL = entry:getAlternateURL() local permalink = isAllowableURL(alternateURL) and escape(alternateURL) or null local displayDate = entry:getDateForDisplay() local localDate = entry:getLocalDateCreated() local sortId = entry:getSortId() local identifier = entry:getIdentifier() -- "x and y or z" is Lua for "x ? y : z" local dateString = displayDate and displayDate:getDisplayString() or "" local sortDate = displayDate and displayDate:getSortString() or "" local localDateSort = localDate and localDate:getSortString() or "" local authorName = null local author = entry:getAuthor() if (author) then authorName = escape(author:getName()) end local sortSource, sourceIndex, sourceName if feedCount > 1 then sourceName = escape(feed:getTitle() or feed:getURL()) if authorName then authorName = authorName .. LOC.kIn .. sourceName else authorName = sourceName end sortSource = string.lower(sourceName) sourceIndex = gIndexOfFeed[feed:getIdentifier()] -- mapping set up in Entries.html else sortSource = "" sourceIndex = 0 end local startLink = "" local endLink = "" if permalink then startLink = "" endLink = "" end ?>