node-webfinger
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:A webfinger client for node.js
# node webfinger

An asynchronous webfinger client for [node](http://nodejs.org/).  It returns an [XRD](http://hueniverse.com/2009/11/xrd-alignment-with-link-syntax/) object, given an email address.

## Usage
    var wf = new webfinger.WebFingerClient();
    wf.finger("foo@example.com",
      function(xrdObj) {
        var statusLinks = xrdObj.getLinksByRel("http://schemas.google.com/g/2010#updates-from");
        // do something with statusLinks
      }
    );

## Example app

From the top level directory of this project, run 

    $ node webfinger-buzz.js @gmail.com

and the application will output the latest google public Buzz entry from that user.

## TODO

Fix up the XRD and Atom parsers.  Currently doesn't work on Yahoo's XRD, for example.
Error handling.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。