• Stars
    star
    228
  • Rank 175,267 (Top 4 %)
  • Language
    C#
  • License
    Apache License 2.0
  • Created over 13 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

NReadability is a tool for removing clutter from HTML pages so that they are more enjoyable to read.

NReadability

Description

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.

Installation

You can start using NReadability right away by installing the NuGet package:

PM> Install-Package NReadability

Getting Started

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);