View Full Version : Seach Engine!
charon
02-11-2003, 07:13 AM
hi,
Can anyone of you help me on this matter.
I want to create a search engine which allow our user to search only our site. I have no idea on how to start.
I did come across some article about Microsoft index Server, but really confusing. I can't access to IIS web server as our site is hosting at hosting company.
Please advice!
arnyinc
02-11-2003, 04:05 PM
http://www.aspfaqs.com/webtech/120499-1.shtml
Here's an article about it with the code at the end of Part 4. I've never searched through a site (just databases for me), but it looks like a decent script after just scanning through it.
charon
02-13-2003, 01:11 AM
actually, I did come across the article before.....it is really decent, but when I try to run the code, an error occur:
Error Type:
Microsoft VBScript runtime (0x800A003E)
Input past end of file
I'm now still finding what is wrong.....help??
pinkcat_02
02-13-2003, 12:23 PM
Check the code :
If Request("boolean") = "AND" then
bolAnd = True
else
bolAnd = False
There is supposed an "end if" after the else.
Hope this help.
whammy
02-15-2003, 01:24 AM
http://www.w3schools.com/asp/asp_ref_filesystem.asp
Master everything here, and expirement with all of the code, and you will not have any more problems!
charon
02-18-2003, 02:13 AM
hi, whammy,
would like to know, can FSO works on doc/excel/pdf files, this is because i failed to use FSO for reading doc and xls file...it displayed
ÐÏࡱá
instead of the real content (text only)
whammy
02-18-2003, 11:59 PM
Nope, as far as I know it can only read text files (since HTML is really just a text file it has no problem with that).
It can easily _create_ .csv files or .xls files which are automatically read by Excel if you use a comma-delimited format (there's a really good thread about that on this forum if you search for it), but in order to actually _read_ an Excel or Word document you probably need to use an ActiveX component of some type (just guessing).
I have never tried that yet, but if I were you I'd do a google search (like "Read Excel file with ASP Active X" maybe?), and a similar search on MSDN, you'll probably come up with something...
charon
02-19-2003, 01:17 AM
alright, thanks you.:))
haldankar_amit
05-19-2003, 07:02 AM
hi,
can anyone help me with search engine to search within the site.
i need it urgently
pls help me if u can as soon as possible
haldankar_amit,
Welcome here, but please do not hijack other peoples threads. Especially not since there are three suggestions in the previous posts of this thread, to find a searchengine like that.
whammy
05-19-2003, 05:16 PM
I agree... if you want search functionality, there are plenty of posts dealing with that type of thing if you just do a search of the forum (or a google search!).
"ASP Search Engine"
"ASP Search Script"
should turn up a lot... I'm going to go ahead and close this thread... if you need help with a specific script, please post the code in a new thread of your own.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.