ccterran (original) Author: iwind friends with dreamweaver do a website, no dynamic content, just some personal collection of articles, personal introduction, and so on. Now there is more content, I want to ask me to help him make a search engine. To be honest, this is a problem, so I have a hand. Now I also see someone want to do this in other forums, so I want to talk about this knowledge and focus on understanding the way. Let's think about a thinking before writing the program. Below is my idea, you may have better, but pay attention to this is just a method problem: traverse all files? Read the content? Search keyword, if you match, put an array ? Reading group. Before implementing these steps, I assume that your web page is standard, it is the title (
title>), there is also ( body>), if you are designed with Dreamweaver or FrontPage Then, unless you deliberately delete it, they are exist. Let's take a step by step and improve this search engine in the project. First, the design search form built a search.htm in the root of the website, the content is as follows Search form title> head>