node-readability

Server side readability with node.js

  • 所有者: arrix/node-readability
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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

主要指标

概览
名称与所有者arrix/node-readability
主编程语言JavaScript
编程语言Shell (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2010-11-16 15:17:13
推送于2011-08-17 21:46:27
最后一次提交2011-02-12 09:16:53
发布数0
用户参与
星数398
关注者数21
派生数85
提交数34
已启用问题?
问题数7
打开的问题数5
拉请求数2
打开的拉请求数4
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?