This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Website Design Forum > October 2007 > Re: creating an index or sorts





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: creating an index or sorts
McKirahan

2007-10-14, 6:18 pm

"Jason" <jasong@satx.rr.com> wrote in message
news:1168375197.976512.68780@o58g2000hsb.googlegroups.com...
> 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.


Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews