ubiquity: Difference between revisions
Jump to navigation
Jump to search
WebOrganics (talk | contribs) |
No edit summary |
||
Line 30: | Line 30: | ||
*#command: | *#command: | ||
*#* cognifiy, Detects all Microformats using [http://buzzword.org.uk/cognition/ Cognition] | *#* cognifiy, Detects all Microformats using [http://buzzword.org.uk/cognition/ Cognition] | ||
== Ubiquitiy and Firefox' Microformats-API == | |||
Its also possible to use the Firefox Microformats-API directly. | |||
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== | ==See also== |
Revision as of 20:26, 6 September 2008
Ubiquity Commands
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
- Search the Microformats Wiki available at http://weborganics.co.uk/
- commands:
- uf-search (search term)
- commands:
Microformats Extraction commands
- Microformats extraction commands available at http://transformr.co.uk/
- commands:
- uf-detect all Microformats using TransFormr
- get-atom from hAtom
- get-vcard from hCard
- get-webcal from hCalendar
- get-podcast from hAudio
- commands:
- Microformats Detection command available at http://srv.buzzword.org.uk
- command:
- cognifiy, Detects all Microformats using Cognition
- command:
Ubiquitiy and Firefox' Microformats-API
Its also possible to use the Firefox Microformats-API directly.
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
- bookmarklets
- firefox-extensions
- greasemonkey - a powerful tool for customizing Firefox.
- operator-phone-tests - a page listing tests of Operator's "Send to Bluetooth device" options with results
- RSS extensions - for viewing hAtom feeds via third-party converters