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

(→‎url: += defaultUrl)
Line 148: Line 148:
Selector for the title of the result. If using the html parser, it can alternatively be a function that receives a single argument (the jQuery result object) and must return a string that will be used as title.
Selector for the title of the result. If using the html parser, it can alternatively be a function that receives a single argument (the jQuery result object) and must return a string that will be used as title.


'''NB:''' This options is required if you use the parser.
'''NB:''' This options is required if you use the parser. Unless [[#href]] is specified, this needs to match either an anchor, or a parent of an anchor, in which case the first such will be used.


==== preview ====
==== preview ====
47

edits