public WordPressSite GetContent(XmlDocument doc) { WordPressSite site = GetAllData(doc); site.Content.RemoveAll(x => x.PostType == WordPressPost.WPPostType.Attachment || x.PostType == WordPressPost.WPPostType.Unknown); return site; }