Haacked/Subtext — Issue #11: Expose the "Entry" entity object in the ViewPost control
Author: jeremy-jameson
Created: 2012-01-31 16:41:39+00:00
State: open

To allow greater flexibility in Subtext skins, the "Entry" object should be made available to skin controls that want to format the fields differently or show additional fields.

For example, in order to format my blog posts using the hAtom microformat (https://www.technologytoolbox.com/blog/jjameson/archive/2011/11/09/building-technologytoolbox-com-part-5.aspx), the custom skin I developed for Technology Toolbox specifies the following in ViewPost.ascx:

```

<%= Entry.Title %>

Published <%=
Entry.DateSyndicated.ToString("MMMM d, yyyy") %> at
<%= Entry.DateSyndicated.ToString("t") %>

by <%= Entry.Author %>

">
Comments: <%= Entry.FeedBackCount %>

>

Attachment

```