IIS Development


>  Home
>  News



>  Code Samples
>  Security


Components & Tools

>  Free Components
>  ComponentCenter
>  CodeLook Program



>  Links
>  Contact us

Search IISDEV:

Search Wizard


Welcome 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/
Use at your own risk, it is free!

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)

NAME VALUE Description
CiRestriction SearchString Our search string
CiMaxRecordsPerPage 10 Max. number of records in results page
CiScope SearchArea Which subdirectory is to be searched
TemplateName query  
CiSort rank[d]  
HTMLQueryForm Set by search.asp Used for linking back from the search results page

ALTAVISTA ("altavista")

Location: "http://altavista.digital.com/cgi-bin/query"

NAME VALUE Description
pg q donīt know this param
what web search what: the web
fmt "" Format: default
q SearchString query string

YAHOO ("yahoo")

Location: "http://search.yahoo.com/bin/search"

NAME VALUE Description
p SearchString query string

LYCOS ("lycos")

Location: "http://www.lycos.com/cgi-bin/pursuit"

NAME VALUE Description
cat lycos Category to search
query SearchString query string

INFOSEEK ("infoseek")

Location: "http://www.infoseek.com/Titles"

NAME VALUE Description
col WW Category to search
qt SearchString query string
sv IS  
lk noframes  
nh 10  

Excite ("excite")

Location: "http://www.excite.com/search.gw"

NAME VALUE Description
trace a  
search SearchString query string
collection web  

HotBot ("hotbot")

Location: "http://www.hotbot.com/"

NAME VALUE Description
SW the Web search what
SM B boolean expression
MT SearchString query string
DC 10 return 10 results
DE 2 full descriptions
_v 2  

©1998-2018 Christoph Wille. All rights reserved.
All content and images on this site are copyright. Reuse (even parts) needs our written consent.