HighDots Forums  

creating an index or sorts

Website Design comp.infosystems.www.authoring.site-design


Discuss creating an index or sorts in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jason
 
Posts: n/a

Default creating an index or sorts - 01-09-2007 , 03:39 PM






Is there a utility/script that will search my site and output an index
of the results in html format? For example, it will search my site and
find the work chicken mentioned several times throughout. An index is
created and when the visitor clicks on the word chicken, it returns
pages on my site that include the word? hope this makes sense


Reply With Quote
  #2  
Old   
McKirahan
 
Posts: n/a

Default Re: creating an index or sorts - 10-14-2007 , 06:10 PM






"Jason" <jasong (AT) satx (DOT) rr.com> wrote

Quote:
Is there a utility/script that will search my site and output an index
of the results in html format? For example, it will search my site and
find the work chicken mentioned several times throughout. An index is
created and when the visitor clicks on the word chicken, it returns
pages on my site that include the word? hope this makes sense
Does your site support ASP?

You could use the FileSystemObject's GetFolder() method to identify
all files in the folder then ReadAll each and use InStr() to determine
if the search string exists in a file (page) and display it as a hyperlink.

However, you may want to restrict the search from including html
tags, non-body text, and other items from the results.

If your site uses PHP then something similar can probably be done.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.