/// <summary>
///
/// </summary>
/// <param name="node"></param>
/// <returns></returns>
public static CommentsInfo GetCommentsInfo(XmlNode node)
{
if (node != null)
{
XmlUtils.UseNode(node);
CommentsInfo c = new CommentsInfo();
c.Count = XmlUtils.Int("count");
c.CanComment = XmlUtils.Bool("can_post");
return(c);
}
return(null);
}