Search Box

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Search Box

Post by shiznatix »

I have this website and currently it is using Drupal and we are using the drupal search. Well, Drupal sucks and I am nearly done with a website using my own framework. The only problem is that I do not have a search capabilities in my framework so I was thinking about using something like google, yahoo, or something else. Basically I want a small search box and a submit button, I get the search stuff and I either use cURL or SOAP to call some API and it returns the results for my website only.

Now I know google had that for a while but they stopped giving keys. I am wondering if anyone has had any expierence with Yahoo or maybe another search engine that will be nice to me.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

There are free searches that you could use (programmed with PHP) to spider and index your webpages, allowing you to make your website searchable within itself, rather than relying on a different engine.

I'm pretty sure that Google forbids automatic querying. They don't run the search engine for free, you know.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

superdezign wrote:There are free searches that you could use (programmed with PHP) to spider and index your webpages, allowing you to make your website searchable within itself, rather than relying on a different engine.

I'm pretty sure that Google forbids automatic querying. They don't run the search engine for free, you know.
Exactally what tools would do this? Any success stories with any of them?

ps. For the next few days I will be in London. If anyone wants to hook up give me a call at +372-569-99897 (I hope I am not breaking forum rules for posting that)
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

superdezign wrote:I'm pretty sure that Google forbids automatic querying. They don't run the search engine for free, you know.
Yahoo and MSN manage to provide search APIs. Google don't because they're not as good.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

PHPDig seems to be the most populare PHP-driven search engine. It also has the ability to search documents like PDFs. I've never used it, but I plan to.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply