 ReadSharp was previously **PocketSharp.Reader** and is now hosted without the [PocketSharp](https://github.com/ceee/PocketSharp) dependency. ## Install ReadSharp using [NuGet](https://www.nuget.org/packages/ReadSharp/) ``` Install-Package ReadSharp ``` ## What's it all about? The library extracts the main content of a website and returns the article as HTML with it's associated title, description, favicon and all included images. The content can be encapsulated in a `
`-Tag and displayed as a readable website with a custom CSS (it's up to you!). ReadSharp is based on a custom PCL port of NReadability and SgmlReader, which are included in the solution. #### Association with Pocket This library is a replacement for the Article View API by Pocket which is limited by usage and privacy. With ReadSharp you won't hit any usage limits, as you are extracting the content directly. And it's open source. --- ## Example ```csharp using ReadSharp; Reader reader = new Reader(); Article article; try { article = await reader.Read(new Uri("http://frontendplay.com/story/4/http-caching-demystified-part-2-implementation")); } catch (Exception exc) { // handle exception } ``` ## Article Model The `Article` contains following fields: - `string` **Title** (the title of the page) - `string` **Description** (description of the page, extracted from meta information) - `string` **Content** (contains the article) - `Uri` **FrontImage** (main page image extracted from meta tags like apple-touch-icon and others) - `Uri` **Favicon** (the favicon of the page) - `List