node-readability

Server side readability with node.js

  • Owner: arrix/node-readability
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

node-readability

Readability.js by Arc90 ported to node.js.

Blog post: Server side readability with node.js

Requirements

Live demo

I'm working on it...

Example

var readability = require('readability');
//...
// This is an very early example. The API is subject to change.
readability.parse(html, url, function(result) {
    console.log(result.title, result.content);
});

Performance

In my testing of 140 pages with an average size of 58KB collected from digg, delicious and hacker news, the average time taken for each page is about 1.1 seconds on a Mac Mini (2.4G Intel Core 2 Duo).

Limitation

  • no fetching next pages
  • no support for frames

Plan

  • Performance optimization
  • Better API, more options
  • Support more readability features

Main metrics

Overview
Name With Ownerarrix/node-readability
Primary LanguageJavaScript
Program languageShell (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2010-11-16 15:17:13
Pushed At2011-08-17 21:46:27
Last Commit At2011-02-12 09:16:53
Release Count0
用户参与
Stargazers Count398
Watchers Count21
Fork Count85
Commits Count34
Has Issues Enabled
Issues Count7
Issue Open Count5
Pull Requests Count2
Pull Requests Open Count4
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private