homepage Welcome to WebmasterWorld Guest from 54.211.190.232
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Having a search function for almost static php web site
npmnpm




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

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




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

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




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

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




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

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




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

not stupid at all Birdman,

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

dingman




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved