On 13 Feb, 23:18, Blair McBride <[email protected]> wrote:
> You'll have to do this within the noun type, as you mentioned. I think
> it would also feel more natural that way too.
>
> For example, the following is a bit overwhelming:
>
> mi-cerca profile in firefox in thunderbird in sunbird in songbird in
> seamonkey
>
> While this feel more natural:
>
> mi-cerca profile in firefox, thunderbird, sunbird, songbird, seamonkey
>
> - Blair
>
> On 14/02/2009 8:06 AM, gialloporpora wrote:
>
> > Dear all,
> > I have recentlly created  some commands to browse and search in the
> > italian Mozilla forum based on SMF platform It is possible to modify
> > commands to work with a generic Simple Machine forum replacing only
> > the _dict variabls defined at the begin)
> >http://gist.github.com/63860
>
> > Now, I have a little question: my search command uses two modifiers:
> > in: to specify the board where searching
> > di: to specify an username to search only in their messages.
> > For example:
> > mi-cerca profile in firefox
>
> > searches only for word: "profile" in board Firefox. Now I would like
> > also to  specify more than one board where to search, for example:
>
> > mi-cerca profile in firefox in thunderbird
>
> > for searching  the word "profile" only in the two boards: Firefox,
> > Thunderbird, not in the whole forum.
>
> > Is it possible to obtain  the value of the second  in modifiers ?
> > I have tried to read the value of the modifiers but  the second value
> > is not in the object.
>
> > If not, I parse the modifiers.in string and I detect the word
> > separated by spaces, not problem.
>
> > In this way I could  make:
> > mi-cerca profile in firefox thunderbird
>
> > Thanks
> > Sandro

Ok, thank you very much for your suggestion.
Now, I'll try to study che code of the CmdUtils.NounType object to
learn how to create a new nountype.
Sandro

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