🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.lang.visualbasic.ver3
4 messages
4 total messages Started by Ryan Healey Sun, 14 Feb 1999 00:00
ASP website search
#93
Author: Ryan Healey
Date: Sun, 14 Feb 1999 00:00
13 lines
1614 bytes
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.

cheers

Ryan
healey@easynet.co.uk
Re: ASP website search
#91
Author: aaron bertrand mvp
Date: Sat, 13 Feb 1999 00:00
22 lines
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.
Re: ASP website search
#92
Author: Clarence Washington Jr.
Date: Sat, 13 Feb 1999 00:00
134 lines
6247 bytes
This is a multi-part message in MIME format.

------=_NextPart_000_001E_01BE5793.3B570400
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

If you don't mind using Perl, there are tons of freely available search =
scripts available all over the internet. You would need to go get =
activeperl from www.activestate.com (Its free) I use a combination of =
Perl and ASP on my site with no problems at all.=20

Index Server IS a better solution though.

Clarence

--=20
Check it out..

Http://cwashington.netreach.net

On this site you will find resources for all of your scripting needs.
Everything you need to get up and running. Over 100 Sample
Scripts, ActiveX controls, reference materials, and technical support
via an online discussion lounge.

[ Win32Scripting... automate!! ]

aaron bertrand [mvp] <aaronATdesktopDOTonDOTca> wrote in message =
news:eO9yL17V#GA.183@uppssnewspub05.moswest.msn.net...
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.




------=_NextPart_000_001E_01BE5793.3B570400
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML><HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<STYLE></STYLE>

<META content=3D'"MSHTML 5.00.0910.1309"' name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>If you don't mind using Perl, there =
are tons of=20
freely available search scripts available all over the internet. You =
would need=20
to go get activeperl from <A=20
href=3D"http://www.activestate.com">www.activestate.com</A> (Its free) I =
use a=20
combination of Perl and ASP on my site with no problems at all. =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>Index Server IS a better solution=20
though.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>Clarence</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2><BR>-- <BR>Check it =
out..</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2><A=20
href=3D"http://cwashington.netreach.net">Http://cwashington.netreach.net<=
/A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>On this site you will find resources =
for all of=20
your scripting needs.<BR>Everything you need to get up and running. Over =
100=20
Sample<BR>Scripts, ActiveX controls, reference materials, and technical=20
support<BR>via an online discussion lounge.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DVerdana size=3D2>[ Win32Scripting... automate!! =
]<BR></FONT></DIV>
<DIV>aaron bertrand [mvp] &lt;aaronATdesktopDOTonDOTca&gt; wrote in =
message <A=20
href=3D"news:eO9yL17V#GA.183@uppssnewspub05.moswest.msn.net">news:eO9yL17=
V#GA.183@uppssnewspub05.moswest.msn.net</A>...</DIV>Index=20
Server does this for you.&nbsp; I suppose you *could* write an ASP=20
script<BR>that uses FileSystemObject to load the contents of each and =
every file=20
into<BR>memory, parses through them with instr() for the keywords, but =
(a)=20
you're<BR>reinventing the wheel, and (b) this would be painfully=20
slow.<BR><BR>--<BR><BR>&nbsp;&nbsp; aaronb [microsoft =
mvp]<BR>&nbsp;&nbsp;=20
swynk.com/friends/bertrand/<BR><BR><BR><BR>Ryan Healey &lt;<A=20
href=3D"mailto:healey@easynet.co.uk">healey@easynet.co.uk</A>&gt; wrote =
in=20
message<BR><A=20
href=3D"mailto:7a55o2$1g3i$1@quince.news.easynet.net">7a55o2$1g3i$1@quinc=
e.news.easynet.net</A>...<BR>&gt;Hi,<BR>&gt;<BR>&gt;Im=20
trying to write a asp script that loops though a root dir<BR>&gt;looking =
for=20
keywords in html and asp documents I have managed<BR>&gt;to create a =
list=20
consisting of linked files in the dir with the mappath<BR>&gt;command =
but I need=20
to only list the files containing the query string<BR>&gt;entered in the =
search=20
textbox if anyone can point me in the right direction<BR>&gt;it would be =
much=20
appreciated.<BR><BR><BR></BODY></HTML>

------=_NextPart_000_001E_01BE5793.3B570400--
Re: ASP website search
#94
Author: Ryan Healey
Date: Sun, 14 Feb 1999 00:00
51 lines
3180 bytes
Thanks for your help guys much appreciated
    Clarence Washington Jr. wrote in message ...
    If you don't mind using Perl, there are tons of freely available search
scripts available all over the internet. You would need to go get activeperl
from www.activestate.com (Its free) I use a combination of Perl and ASP on
my site with no problems at all.

    Index Server IS a better solution though.

    Clarence

    --
    Check it out..

    Http://cwashington.netreach.net

    On this site you will find resources for all of your scripting needs.
    Everything you need to get up and running. Over 100 Sample
    Scripts, ActiveX controls, reference materials, and technical support
    via an online discussion lounge.

    [ Win32Scripting... automate!! ]

    aaron bertrand [mvp] <aaronATdesktopDOTonDOTca> wrote in message
news:eO9yL17V#GA.183@uppssnewspub05.moswest.msn.net...
    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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads