Forum Moderators: coopster

Message Too Old, No Replies

Having a search function for almost static php web site

         

npmnpm

3:47 pm on Nov 29, 2002 (gmt 0)

10+ Year Member



HI,
I'm building a website it uses php and templates, so web pages are assembled before they are previewed (on the fly). I will like it to have search capabilities. What will be some ways to index the content and create the directories?

any help?

thankx!

jatar_k

4:13 pm on Nov 30, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



have you taken a look at sourceforge.net or other script sites?

The only search I can think of is htdig.org but that probably doesn't fit the criteria.

lorax

4:19 pm on Nov 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You're only recourse here is to build/download/buy a search engine that will search the db. One that I've used and found to be reasonalby good is DGS Search [digitalgenesis.com]

Birdman

4:20 pm on Nov 30, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Forgive me if I'm way off here. Couldn't you query certain database fields for the keywords?

SELECT FROM db WHERE title LIKE "keyword";

Sorry if that was stupid, I'm a db newbie!

jatar_k

4:22 pm on Nov 30, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



not stupid at all Birdman,

That would all depend on how/what you are storing.

dingman

2:09 am on Dec 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If your 'almost static' web site has URLs that stay the same from visit to visit for the same content, then a normal spidering search engine should work fine. I've also used Birdman's solution before, but I don't think the results are as good as I get with ht://Dig, so I'd tend to use that sort of engine anywhere it would work. It ought to be fine on an 'almost static' page, and it's very customizable.

npmnpm

12:34 pm on Dec 2, 2002 (gmt 0)

10+ Year Member



thanks, for your replyes!
the problem I'm having is that most of the content won't go into a DB.... and can't use a regular filesystem search beacuse the linking system is not standard... I'll keep looking, some of the links you guys sent me may solve my problem!
thanks!

NPM