Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N node-ostatus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • node-ostatus
  • Wiki
  • Webfinger

Webfinger · Changes

Page history
Updated Webfinger (markdown) authored Mar 01, 2011 by eschnou's avatar eschnou
Hide whitespace changes
Inline Side-by-side
Showing with 7 additions and 2 deletions
+7 -2
  • Webfinger.md Webfinger.md +7 -2
  • No files found.
Webfinger.md
View page @ 4cccc1d4
Webfinger is an HTTP based protocol whose aim is to discover information on resources represented by an email like identifier. More details on this protocol can be found [[here | http://code.google.com/p/webfinger/wiki/WebFingerProtocol]].
Webfinger is an HTTP based protocol whose aim is to discover information on resources represented by an email like identifier.
**Spec:** <http://code.google.com/p/webfinger/wiki/WebFingerProtocol>.
## lookup(identifier, callback);
......@@ -36,6 +38,7 @@ _this could definitively be improved_
Example:
var Ostatus = require('ostatus');
Ostatus.webfinger.hostXrd("example.com", function(err, result) {
console.log(result);
});
......@@ -45,7 +48,8 @@ Example:
Render the user's XRD with the provided Subject, Alias and Links. In practice, it just render [[this template | http://github.com/eschnou/node-ostatus/blob/master/lib/ostatus/templates/userXrd.xml.mu]].
Example:
var Ostatus = require('ostatus');
var links = [
{
rel: "http://microformats.org/profile/hcard",
......@@ -56,6 +60,7 @@ Example:
href: "http://example.com/salmon/user"
}
]
Ostatus.webfinger.userXrd("acct:user@example.com", "http://example.com/user", links, function(err, result) {
console.log(result);
});
Clone repository
  • Activitystreams
  • Hcard
  • Home
  • Profile.js
  • Pubsubhubbub
  • Salmon
  • Status.js
  • Webfinger.js
  • Webfinger