Markus Sabadello edited this page Jan 28, 2015 · 14 revisions
Clone this wiki locally

This is a description and walkthrough for the XDI Ninja! browser plugin that is like "Twitter for data".


You install a plugin in your browser. You can add XDI addresses of your own Cloud Cards as well as other people's Cloud Cards. Cloud Cards contain attributes such as "first name", "last name", etc. This assumes that you and/or other people have already created Cloud Cards using the Cloud Manager (source).


Step 1: You start by clicking on the XDI Ninja! button in the browser toolbar. This opens a popup window. Continue by typing one of you own "cloud addresses". For example, this could be =markus#home for a "home" Cloud Card, or =markus for a "default" Cloud Card.

An XDI discovery step will be performed to find your XDI Cloud. You will also be asked to authenticate with a secret token (password).

Step 2: Now your Cloud Card should be added and visible in the popup window. All public attributes of the Cloud Card are displayed and periodically refreshed.

Example XDI message to retrieve one of your own Cloud Cards:


Example XDI result:

=markus#home$card$public<#description>&/&/"My default card"

Step 3: Next to your own Cloud Card, you may click a "Preferences" icon. This is an easy way to log in to the Cloud Manager (source), where you can create and manage your Cloud Cards.

Step 4: In the right half of the popup window, you may add other people's Cloud Cards.

Adding other people's Cloud Cards uses the XDI public link contract and therefore does not require authentication.

Step 5: Just like your own Cloud Cards on the left half, other people's Cloud Cards on the right half are also periodically refreshed.

Example XDI message to retrieve someone else's Cloud Card:


Example XDI result:

=andrepm$card$public<#description>&/&/"This is my professional card"

Step 6: Clicking on a Cloud Card displays it on the web using the Cloud Card Viewer (source).

The web-based Cloud Card Viewer also makes it possible to initiate an "XDI Connect" flow and accept a "connection invitation", in order to request access to private attributes on a Cloud Card.

Step 7: For your own Cloud Cards, you may edit attributes directly in the XDI Ninja! popup window, without having to use the web-based Cloud Manager (source).

Example XDI message to update an attribute on the Cloud Card:


Step 8: When an attribute on a Cloud Card is updated, everyone who is "following" the Cloud Card will receive a notification with the new attribute value.

Step 9: The XDI Ninja! plugin also has functionality that integrates with the Cloud Messenger (source). When a new message arrives in your XDI Cloud, a notification is displayed.