Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP search tool for website

Status
Not open for further replies.

sailingfree

Programmer
Sep 13, 2006
32
GB
Hi

Is anyone aware of any free ASP-based search tools for websites that don't require hosting by a third party? There are a couple of non-asp search tools but they are normally restricted to 50 pages.
 
It's not free but the best one I have come across is Zoom by Wrensoft. It's $99 (roughly £60) and very powerful indeed. Easy to customise as well.
 
Hehe, funnily enough I'd already downloaded the trial version of this and was quite impressed. The problem is that I have far more than 50 pages, though it is only for a personal website so the cost is quite prohibitive at the moment, hence my question about other solutions.

Thanks for the reminder though - I'll keep these guys in mind. I thought it was a very easy to use search engine.
 

Have you thought about building a simple one yourself ?

If you only have static pages, then the task will be somewhat easier and require usage of the FSO (to read the files), RegEx (to extract the real text out of the html), string manipulation functions (for slicing and dicing text into words), a database (to store the indexes in) and ADO (to access the database).

Simply compile an array of words from the parsed file (without the html) and then add any words that you want to index to the database with a reference to the file it was found in, with a counter for relevance of the word for that page. (you will want to exclude common words, like: 'and', 'a', 'the', 'of' etc)

Your search page would just look up a word (or words) in the database, return all the records found and have a weighting for relevance (the counter field).

This is a very simple way of doing it, but will suffice if you have no access to the server (to use the IIS indexing functions) and don't want to pay for a commercial solution.

There may be free ones out there, but where would the fun be in that.. ?



A smile is worth a thousand kind words. So smile, it's easy! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top