NReadability cleans up hard-to-read articles on the Web. It's a tool for removing clutter from HTML pages so that they are more enjoyable to read.
The NReadability package consists of the .NET class library and a simple console application.
NReadability is a C# port of Arc90's Readability bookmarklet.
You can start using NReadability right away by installing the NuGet package:
In order to transcode content downloaded from the Web:
var transcoder = new NReadabilityTranscoder();
string content;
using (var wc = new WebClient())
{
content = wc.DownloadString("https://github.com/marek-stoj/NReadability");
}
bool success;
string transcodedContent =
transcoder.Transcode(content, out success);
Or even simpler:
var transcoder = new NReadabilityWebTranscoder();
bool success;
string transcodedContent =
transcoder.Transcode("https://github.com/marek-stoj/NReadability", out success);