Re: Site Search for website
| From: | Greg Donald | Date: | Mon, 18 Oct 2004 18:12:30 +0000 |
| Subject: | Re: Site Search for website | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199753@lists.php.net to get a copy of this message | ||
On Mon, 18 Oct 2004 13:31:40 -0400, Rahul S. Johari
<rjohari@nycap.rr.com> wrote:
> I¹m working on creating a site search for our company¹s website, and am
> looking for some tips. Creating the search code and the results doesn¹t seem
> to be a big challenge... Indexing is something I have no clue to. I don¹t
> know how to create the Index and how the keywords, summary and link is
> generated automatically and goes into the database. I know there are paid
> software out there which do the same, but I¹m inclined to believe there has
> to be a way for PHP to read keywords off the pages in a folder and index
> them. Or I may be wrong.
>
> Any guidance appreciated.
You can use htdig for indexing the site:
http://www.htdig.org/
Then build a PHP wrapper around the results for display:
http://www.devshed.com/c/a/PHP/Search-This/
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/