Re: New search related question
| From: | Daniel Brown | Date: | Mon, 04 Feb 2008 19:52:19 +0000 |
| Subject: | Re: New search related question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268663@lists.php.net to get a copy of this message | ||
On Feb 4, 2008 2:48 PM, Jason Pruim <japruim@raoset.com> wrote:
> Hi Everyone! :)
>
> Just a quick question, I've done some googling but haven't been able
> to find what I need... I am looking at doing a search function for
> someone's website, the website is just static HTML files, and she
> doesn't want to redo the entire website to make it dynamic.
>
> What I am thinking (And please correct me when I'm wrong!) is that if
> I maintain a database with keywords in it, and links to the pages it
> exists on, I can implement the search easily enough without redoing
> the entire website. IE: Someone searches the database for "Flowers"
> and flowers are the main product on: "Flowers.html" and
> "fakeFlowers.html" so on the page, I would display:
>
> Search Term: Flowers
>
> Search Results:
> link.to.site/Flowers.html
> link.to.other.site/fakeFlowers.html
>
> Is there anything wrong with the way I'm thinking? Or is it that there
> is a better way to search through a static HTML site?
There are plenty of free PHP spider scripts, which is what you
need. Otherwise, it's not that difficult to write your own system.
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>