Here is the updated source code to my Article List control.
It was updated by Sam Lai with the following changes in Sam's words:
Basically I have changed it so that there are two repeater controls.
The first (outer) one loops through all the categories, and the 2nd
(inner) one loops through all the posts for that category.
Besides that, I have also added in a HyperLink control to show the
comment count with the comment text. Prior, you had placed the
CommentCount and Comment control together using the skin file, however
that resulted in a break in the link underlining, so this control
avoids that. It can be used by adding the following line within the
posts repeater:
<asp:HyperLink ID="CommentCountWithCommentText" Runat="server" />
Also, I have added in a hyperlink control that displays the article's
author. Use this by adding the following line within the posts
repeater:
<asp:HyperLink id="AuthorLink" Runat="server" />
I have added in some new properties as well that allow you to sort the
resultant articles.
ArticlesSortBy: allows you to sort the articles based on either
MostRecent, MostViewed, MostComments. Those are the only accepted
values. Defaults to MostRecent.
ArticlesSortOrder: allows you to sort the articles in either
Descending or Ascending order. Those are the only accepted values.
Defaults to Descending.
To set these, just add them to the Article:ArticleList tag, e.g.
<Article:ArticleList runat ="server" ArticlesSortBy="MostRecent"
ArticlesSortOrder="Descending" id="ArticleList1" BlogId="9"
ShowExcerpt="true" MaxPosts="100"/>