A standalone version of the readability library used for Firefox Reader View.
[…]
To parse a document, you must create a new
Readabilityobject from a document object, and then callparse(). Here’s an example:var article = new Readability(document).parse();This
articleobject will contain the following properties:
title: article titlecontent: HTML string of processed article contentlength: length of an article, in charactersexcerpt: article description, or short excerpt from the contentbyline: author metadatadir: content directionIf you’re using Readability on the web, you will likely be able to use a
documentreference from elsewhere (e.g. fetched via XMLHttpRequest, in a same-origin<iframe>you have access to, etc.).