ubiquity

(Difference between revisions)

Jump to: navigation, search
Current revision (22:12, 8 September 2008) (view source)
(Microformats Extraction commands: updated cognition's ubiquity commands)
 
(9 intermediate revisions not shown.)
Line 15: Line 15:
* Search the [[Main_Page|Microformats Wiki]] available at http://weborganics.co.uk/
* Search the [[Main_Page|Microformats Wiki]] available at http://weborganics.co.uk/
*#commands:  
*#commands:  
-
*#* uf-search (search term)
+
*#* <code>uf-search</code> (search term)
=== Microformats Extraction commands ===
=== Microformats Extraction commands ===
Line 21: Line 21:
* Microformats extraction commands available at http://transformr.co.uk/
* Microformats extraction commands available at http://transformr.co.uk/
*#commands:  
*#commands:  
-
*#* uf-detect all Microformats using [http://transformr.co.uk/ TransFormr]
+
*#* <code>get-atom</code> from [[hatom|hAtom]]
-
*#* get-atom from [[hatom|hAtom]]
+
*#* <code>get-vcard</code> from [[hcard|hCard]]  
-
*#* get-vcard from [[hcard|hCard]]  
+
*#* <code>get-webcal</code> from [[hcalendar|hCalendar]]
-
*#* get-webcal from [[hcalendar|hCalendar]]
+
*#* <code>get-podcast</code> from [[haudio|hAudio]]
-
*#* get-podcast from [[haudio|hAudio]]
+
* Microformats Detection command available at  http://srv.buzzword.org.uk
* Microformats Detection command available at  http://srv.buzzword.org.uk
*#command:
*#command:
-
*#* cognifiy, Detects all Microformats using [http://buzzword.org.uk/cognition/ Cognition]
+
*#* <code>cognifiy-page ''output_format''</code>, Detects all Microformats on page using [http://buzzword.org.uk/cognition/ Cognition]
 +
*#* <code>cognifiy-selection ''output_format''</code>, Detects all Microformats within selected text using [http://buzzword.org.uk/cognition/ Cognition]
== 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:
Line 46: Line 46:
   }
   }
  })
  })
 +
 +
* [http://transformr.co.uk/ TransFormr] uses some of the above code to check if certain microformats are present ([[hcard|hCard]] and [[hcalendar|hCalendar]]) before performing a transformation.
==See also==
==See also==

Current revision

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: Monday, September 8th, 2008

Views