Or a longer example here

http://mytechieself.blogspot.com/2008/09/yelling-with-ubiquity.html

On Mon, Dec 22, 2008 at 7:54 PM, Christian Sonne <[email protected]>wrote:

> Hi Henrik,
>
> What you're looking for is easily done via modifiers - here's a quick
> tutorial on their use:
> https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#Replace:_Commands_With_Multiple_Arguments
>
> Best regards,
> Christian Sonne
>
>
> On Mon, Dec 22, 2008 at 8:38 PM, Henrk <[email protected]
> > wrote:
>
>>
>> Hello
>>
>> I have made some simple ubiquity search-commands my substituting the
>> search term in the url with {QUERY}
>>
>> Now I woder how one could make a searchcommand that could take e.g.
>> three searchterms
>>
>> Could think of a good example at the moment, but lets take myspace
>> Lets say you want to have a main search word followed by two more
>> arguments:
>> -  music or people
>> -  country
>>
>> In example 1 I have search for "bowie" under "music" from "norway"
>>
>>
>> http://searchservice.myspace.com/index.cfm?fuseaction=sitesearch.results&qry=bowie&type=Music&an=on&st=on&a=on&loc=norway&sb=1&gnr=0&d=10&stb=0
>>
>> In the second example I have searched for "bowie" under "people" from
>> "sweeden"
>>
>>
>> http://searchservice.myspace.com/index.cfm?fuseaction=sitesearch.results&qry=bowie&type=People&g=B&loc=sweeden&srchBy=All&minAge=--&maxAge=--&d=50
>>
>> Is there any simple way to make searchcommands with multiple
>> arguments  by using the url in the code and have different substitutes
>> for the three searchterms in the url. Something like  {QUERY1}
>> {QUERY2} {QUERY3}
>>
>>
>> http://searchservice.myspace.com/index.cfm?fuseaction=sitesearch.results&qry={QUERY1}&type=
>> {QUERY2<http://searchservice.myspace.com/index.cfm?fuseaction=sitesearch.results&qry=%7BQUERY1%7D&type=%7BQUERY2>
>> }&an=on&st=on&a=on&loc={QUERY3}&sb=1&gnr=0&d=10&stb=0
>>
>> Henrik Marstrander
>>
>>
>>
>>
>
> >
>


-- 
Mayuresh

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to