ubiquity

(Difference between revisions)

Jump to: navigation, search
(Ubiquitiy and Firefox' Microformats-API)
Line 33: Line 33:
== Ubiquitiy and Firefox' Microformats-API ==
== Ubiquitiy and Firefox' Microformats-API ==
-
Its also possible to use the Firefox Microformats-API directly.
+
It is also possible to use the Firefox Microformats-API directly (with Ubiquity).
Here is a little code snippet:
Here is a little code snippet:

Revision as of 21:16, 6 September 2008

Ubiquity Commands

Contents


What is Ubiquity

Ubiquity is a Firefox 3 plugin that enables the user to interact with websites and services using simple keyboard commands.

Below is a list of Commands in the wild that support Microformats.

See user-interface for ways in which extensions could or do handle microformats.

Commands in the wild

Microformats Wiki Search

Microformats Extraction commands

Ubiquitiy and Firefox' Microformats-API

It is also possible to use the Firefox Microformats-API directly (with Ubiquity).

Here is a little code snippet:

Components.utils.import("resource://gre/modules/Microformats.js");
CmdUtils.CreateCommand({
  name: "count-hcards",
  execute: function() {
    var doc = Application.activeWindow.activeTab.document;	
    var uFcount = Microformats.count('hCard', doc);
    displayMessage( uFcount );
  }
})

See also

ubiquity was last modified: Wednesday, December 31st, 1969

Views