Node.js 的网页浏览扩展 Horseman
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://www.horsemanjs.org/
- 软件文档: https://github.com/johntitus/node-horseman
软件介绍
Horseman 是一个 Node.js 扩展模块,利用 PhantomJS 实现直接链式 API 和方便理解的控制流来实现无需图形化界面的网页浏览和数据获取。
示例代码:
var Horseman = require("node-horseman");
var horseman = new Horseman();
var projects = ['nodejs',
'jquery',
'tomcat',
'mysql',
'docker',
'j2cache',
'runjs',
'git'];
projects.forEach( function( p ){
var data = horseman
.open('http://www.oschina.net/p' + p)
.text('div.soft_collect_count');
console.log( p + ': ' + data );
});安装方法:
npm install node-horseman
Beginning XML with DOM and Ajax
Sas Jacobs / Apress / 2006-06-05 / USD 39.99
Don't waste time on 1,000-page tomes full of syntax; this book is all you need to get ahead in XML development. Renowned web developer Sas Jacobs presents an essential guide to XML. Beginning XML with......一起来看看 《Beginning XML with DOM and Ajax》 这本书的介绍吧!
