Ufxtract

Powerful, easy to use .Net microformats parser

Reporting

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.

Reporting

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()));
}
Download Code MIT Open Source License About the UfXtract .Net library

Output formats

Formats

Inputs

.Net

Reporting and Errors