You can add a small parsing report to the bottom of the output by copying the Urls collection from the web request object to the data convertor object.
string url = "http://www.glennjones.net/about/"; UfWebRequest webRequest = new UfWebRequest(); webRequest.Load(url, UfFormats.HCard()); if (webRequest.Data.Nodes.Count > 0) { UfDataToJson dataConvertor = new UfDataToJson(); Response.ContentType = "application/json"; //Add reporting by passing Url information dataConvertor.Urls = webRequest.Urls; Response.Write(dataConvertor.Convert(webRequest.Data, UfFormats.HCard())); }
© 2007-2010 Glenn Jones. All Rights Reserved.