ASP page to Search by Directory Names

ASP page to Search by Directory Names

am 25.10.2007 22:43:01 von CassandraLindquist

I need to develop a search so users enter a unique number and the search form
searches all folders and subfolders of the site to match this unique number
to the name of a directory. The search results should return the public path
to the directory (we have directory browsing enabled):

search for from page on root of site: 12345
return: http://www.siteroot.com/dir1/12345

I have tried doing this with the Indexing Service and asp, but it seems that
only searches the title of the actual files, not folders.

Re: ASP page to Search by Directory Names

am 25.10.2007 22:54:34 von reb01501

Cassandra Lindquist wrote:
> I need to develop a search so users enter a unique number and the
> search form searches all folders and subfolders of the site to match
> this unique number to the name of a directory. The search results
> should return the public path to the directory (we have directory
> browsing enabled):
>
> search for from page on root of site: 12345
> return: http://www.siteroot.com/dir1/12345
>
> I have tried doing this with the Indexing Service and asp, but it
> seems that only searches the title of the actual files, not folders.

You will need to use the filesystemobject. Here's an article to get you
started:
http://www.aspfaq.com/show.asp?id=2211

And here's the documentation:
http://msdn2.microsoft.com/en-us/library/bkx696eh.aspx

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: ASP page to Search by Directory Names

am 26.10.2007 15:36:05 von jp2code

Mr. Barrows:

I've noticed the ASP FAQ page mentioned several times, and I've been to it
several times. You are mentioned in the "How do I page through a recordset?"
article.

The Search Engine Optimization (SEO) section is blank. Is information coming
on that, or was it removed because it was no longer valid? I am interested
in that.

"Bob Barrows [MVP]" wrote:
>
> You will need to use the filesystemobject. Here's an article to get you
> started:
> http://www.aspfaq.com/show.asp?id=2211
>

Re: ASP page to Search by Directory Names

am 26.10.2007 15:44:45 von jp2code

Skip that. I just found a Contact Link on the page, so I sent the message
there instead. Pardon my impatience.

"jp2code" wrote:
>
> The Search Engine Optimization (SEO) section is blank. Is information
> coming on that, or was it removed because it was no longer valid? I am
> interested in that.
>