|
Search WizardDocumentationWelcome to the documentation of the Search Wizard! As you will see when you have read this documentation, there is really no "wizardry" involved in creating this Search Wizard. Our start page is search.asp. It contains all "layout" for the wizard. Only one line of code is there: Getting the actual path of this wizard page (<%= Request.ServerVariables("PATH_INFO")%>) for use in paging back to "New Query" from a Tripoli results page. All of the work is done in redir.asp. It checks the variable SearchType for the type of server the query should be run against. All information about the parameters and their meaning (as far as I could figure out) are also contained in this document. This SearchType param is then used in a select case statement to rebuild the query string for the actual search engine (with reapplying the URL Encoding). This final string is then sent with response.redirect back to the client, which in return queries the search server. Thatīs it! Original source: http://www.alphasierrapapa.com/IisDev/Articles/Search/ TRIPOLI ("local")As we are using the standard Tripoli sample query page, these are the parameters with their respective default values we have to send to the query form (Tripoli)
ALTAVISTA ("altavista")Location:
"http://altavista.digital.com/cgi-bin/query"
YAHOO ("yahoo")Location:
"http://search.yahoo.com/bin/search"
LYCOS ("lycos")Location:
"http://www.lycos.com/cgi-bin/pursuit"
INFOSEEK ("infoseek")Location:
"http://www.infoseek.com/Titles"
Excite ("excite")Location:
"http://www.excite.com/search.gw"
HotBot ("hotbot")Location:
"http://www.hotbot.com/"
|
All content and images on this site are copyright. Reuse (even parts) needs our written consent. |