Labs/Ubiquity/Writing A Search Command: Difference between revisions

(Documentation on writing a search command)
 
Line 15: Line 15:


=== preview ===
=== preview ===
An optional preview string or function that can be used to display results in the Ubiquity preview. For more info see [[Labs/Ubiquity/Ubiquity_0.5_Author_Tutorial#Adding_a_Preview]]


To provide a consistent search experience, makeSearchCommand can generate a preview for you with minimal work on your part. For more information on this, see [[#parser]]. If you leave out both preview and parser, the provided or generated description will be used instead.


=== charset ===
=== charset ===
47

edits