View Full Version : How to do a search engine??
I don't know how to do a search engine, this search engine can only search for internal site???:(
Stealth
07-03-03, 12:22 AM
easy if your site runs off a database, im sure theres a workaround for scanning html files but im sure it would be a messy and slow buisiness searching :S
not in a database and all of them is HTML. I know it is messy, but is it possible for me to do it??and HOW??:( :confused:
Stealth
07-04-03, 02:02 PM
well, showing the actual code would be too time consuming but it would go along the lines of,
get a directory listing. open the first file as a text object and use the StrComp() function to determine if the text specified exists in the page .. but this would cause problems. HTML tags would be shown in searches but the page shown would have no relative results.
anyway, firther on it would have to cycle the pages in directories and remember the results.
really quite complicated and probably a terrible load on the server.
if your lucky someone with more knowledge than me will post a better way or a link to software that will do it. but thats all ure gonna get outa me buddy
Yeah, the load on the server may be horrible.
If you have your own server, I would just turn on MS Index Server and try doing that for a while.
Or create some sort of crawler that crawls through your pages every so often and puts them in a database. Then search the database.
Stealth
07-05-03, 01:34 PM
ahh a crawler, never thought of that
Gurrutello
07-05-03, 06:42 PM
hello
try in this web
http://www.webwizguide.com/asp/sample_scripts/site_search_script.asp
is a goodo one
vBulletin® v3.6.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.