Welcome! Log In Create A New Profile

Advanced

How can I let user search a specific website?

Posted by Tsalagi 
How can I let user search a specific website?
December 03, 2009 10:44PM
Howdy! I've successfully tested Sphider locally and now am thinking about tweaks. Is there any way to let a user choose which site to search? My website will have a very limited scope with only a few dozen websites to index. I would like to have options for the user to choose which website they would like to search. Is this possible without having multiple installs of Sphider?

Any suggestions would be very appreciated!

Thank you

Tsalagi

Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful o



Edited 2 time(s). Last edit at 12/04/2009 01:52AM by Tsalagi.
Re: Resolved-How can I let user search a specific website?
December 04, 2009 01:40AM
I learned about the categories section in the admin area. I added a category and the user can search only that category. I don't think there is a link relationship between categories and a site to search.

Tsalagi

Believe in yourself! Have faith in your abilities! Without a humble but reasonable confidence in your own powers you cannot be successful o



Edited 1 time(s). Last edit at 12/04/2009 01:54AM by Tsalagi.
Re: How can I let user search a specific website?
February 03, 2010 12:29AM
Ran into the same problem. get_search_results() takes a domain as one of its arguments, so I just had to find the part of my search page that was calling get_search_results() & make sure the correct domain was specified.

It gets more interesting if you want to limit what the suggest framework returns.
Sorry, only registered users may post in this forum.

Click here to login