Skip to content

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

License

Notifications You must be signed in to change notification settings

locoy/NReadability

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 87.2%
  • C# 12.5%
  • Other 0.3%