On Sun, Mar 22, 2009 at 10:10 PM, some_guy <[email protected]>wrote:
>
> i made a few simple commands a few days ago to check online stores for
> products and they worked perfectly. now, however, none of them will
> load in ubiquity and I have to hit enter and go to the site itself for
> the searches to work. They just keep showing 'Loading Search Results'
> and never do load them. I'll put the code below for a few of them.
> [CODE]
> CmdUtils.makeSearchCommand({
> name: "Play.com DVDs",
> url: "http://www.play.com/Search.aspx?searchtype=R2&searchstring=
> {QUERY}&page=search&pa=search&go",
> icon: "http://images.play.com/SiteCSS/Play/Live1/img/brand/
> favicon.ico<http://images.play.com/SiteCSS/Play/Live1/img/brand/%0Afavicon.ico>
> ",
> parser: {container: "div.slice",
> title: "h5",
> preview: "h6",
> thumbnail: "div.image"}
> });
> [/CODE]
> [Code]
> CmdUtils.makeSearchCommand({
> name: "Amazon UK",
> url: "http://www.amazon.co.uk/s/ref=nb_ss_w_h_?url=search-alias
> %3Daps&field-keywords={QUERY}<http://www.amazon.co.uk/s/ref=nb_ss_w_h_?url=search-alias%0A%3Daps&field-keywords=%7BQUERY%7D>
> ",
> icon: "http://www.amazon.co.uk/favicon.ico",
> parser: {container: "div.result",
> title: "div.productTitle",
> preview: "div.newPrice",
> thumbnail: "div.productImage"}
> });
> [/code]
Hmm... They seem to work here, but spaces in command names are not really
supported, so it's a bit glitchy...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"ubiquity-firefox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ubiquity-firefox?hl=en
-~----------~----~----~----~------~----~------~--~---