Article View: alt.comp.lang.visualbasic.ver3
Article #91Re: ASP website search
From: aaron bertrand mvp
Date: Sat, 13 Feb 1999 00:00
Date: Sat, 13 Feb 1999 00:00
22 lines
1980 bytes
1980 bytes
Index Server does this for you. I suppose you *could* write an ASP script that uses FileSystemObject to load the contents of each and every file into memory, parses through them with instr() for the keywords, but (a) you're reinventing the wheel, and (b) this would be painfully slow. -- aaronb [microsoft mvp] swynk.com/friends/bertrand/ Ryan Healey <healey@easynet.co.uk> wrote in message 7a55o2$1g3i$1@quince.news.easynet.net... >Hi, > >Im trying to write a asp script that loops though a root dir >looking for keywords in html and asp documents I have managed >to create a list consisting of linked files in the dir with the mappath >command but I need to only list the files containing the query string >entered in the search textbox if anyone can point me in the right direction >it would be much appreciated.
Technical Details
Message-ID:
<eO9yL17V#GA.183@uppssnewspub05.moswest.msn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7a55o2$1g3i$1@quince.news.easynet.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff74b,6edb2035e1a1ac12,start X-Google-Attributes: gidff74b,public X-Google-Thread: fa31c,6edb2035e1a1ac12,start X-Google-Attributes: gidfa31c,public X-Google-Thread: 10a872,6edb2035e1a1ac12,start X-Google-Attributes: gid10a872,public X-Google-Thread: 1023e1,6edb2035e1a1ac12,start X-Google-Attributes: gid1023e1,public X-Google-Thread: f6b6a,6edb2035e1a1ac12,start X-Google-Attributes: gidf6b6a,public X-Google-Thread: fdea5,6edb2035e1a1ac12,start X-Google-Attributes: gidfdea5,public From: "aaron bertrand [mvp]" <aaronATdesktopDOTonDOTca> Subject: Re: ASP website search Date: 1999/02/13 Message-ID: <eO9yL17V#GA.183@uppssnewspub05.moswest.msn.net> X-Deja-AN: 444141621 References: <7a55o2$1g3i$1@quince.news.easynet.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0707.2700 Organization: Desktop Innovations Newsgroups: alt.comp.lang.visualbasic.ver3,cz.comp.microsoft.asp,microsoft.public.iis4.beta.activeserverpgs,microsoft.public.inetserver.asp.components,microsoft.public.programming.scripting.vbscript,microsoft.public.scripting.vbscript