Chunked guide

Ryan Schmidt ryandesign at macports.org
Thu Jul 24 19:43:26 PDT 2008


On Jul 24, 2008, at 04:44, Randall Wood wrote:

>>> Are the topical searches within results not showing the guide?  
>>> (Now  I
>>> just need to figure out how to get a topical search to be the  
>>> default
>>> one...)
>>
>> You mean the part after I do my search where it says:
>>
>> Refine results for foo: Guide Tickets Changesets Ports Wiki
>>
>> Honestly I hadn't seen that until now. It works fine when I click  
>> "Guide".
>>
>> Still I'd rather not search over everything, then have to refine  
>> my search.
>> I want the right search from the beginning. I guess I can type  
>> "more:guide"
>> into the search box. It would be easier if there were a drop-down  
>> menu where
>> I could select how I want to refine the search right at the  
>> beginning.
>
> The Google Search API (javascript) makes this possible. So, is the use
> of JavaScript to draw the search form acceptable or not in this case?

I'm not familiar with the Google Search API but I would say it would  
be a good idea to use a regular text box for the search box, and then  
add a drop-down menu of refinements via JavaScript if necessary. That  
way those with JavaScript off still get a basic search box that works.



More information about the macports-dev mailing list