Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Custom Search Engine For Website, looking for alternatives to google
sonesay
post Apr 16 2008, 09:40 PM
Post #1


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 640
Joined: 20-June 07
From: Auckland
Member No.: 45,102



I'm trying to help my friend finish off a website for his client. Hes not very good with web development but its his client and they want a custom search engine. We have looked at what Google offers but it comes with ads unless you pay a yearly subscription. We need something that we can integrate into our own website easily without any ads at all if possible. We have tried jRank.org's script but somehow there is an error and we cant seem to validate a context so it wont work for us. The documentation is very vague also and we did follow the instructions.

So basically we need any info from anyone who has experience in this. I was thinking I may try create a custom script but we don't have much time before we hand over the site to the client. Searching Google is also a pain since it comes up with many listing of sites that enter your site into a search engine. We need a search engine integrated into the site to search for things only on the site.

Looking forward to hear any responses thanks
Go to the top of the page
 
+Quote Post
coolcat50
post Apr 16 2008, 09:56 PM
Post #2


Super Member
*********

Group: [HOSTED]
Posts: 275
Joined: 5-October 07
From: Random Places
Member No.: 51,171
Spam Patrol



Well, I know a way to integrate a search engine into your site, but it is not truly integrated. It is similar to Google's as to where it takes you off-site. Which I think Google's does. Well if you wish to check it out look at http://rollyo.com.
Go to the top of the page
 
+Quote Post
sonesay
post Apr 16 2008, 10:09 PM
Post #3


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 640
Joined: 20-June 07
From: Auckland
Member No.: 45,102



nope you can integrate Google search into your site but like I said it comes with ads or you can pay a subscription starting from $100 US dollars annually for businesses. I looked at that site you gave but its not exactly what I'm after.

I've seen certain blogs and CMS come with search fields that have been pre-made for you. I don't think it works since a member on here was asking how to get it going a while back but I had no answer as I did no use them. Has anyone got it to work that way? if so and you'd like to share the details please do.
Go to the top of the page
 
+Quote Post
coolcat50
post Apr 16 2008, 10:17 PM
Post #4


Super Member
*********

Group: [HOSTED]
Posts: 275
Joined: 5-October 07
From: Random Places
Member No.: 51,171
Spam Patrol



Well, Wordpress has a built-in search function. See my blog in my signature inside the hide tags. I am pretty sure Joomla has a search feature as well. I am not entirely sure though.
Go to the top of the page
 
+Quote Post
sonesay
post Apr 16 2008, 10:52 PM
Post #5


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 640
Joined: 20-June 07
From: Auckland
Member No.: 45,102



Yeah I just checked their search functions out and it seems to be the case that they do database searches to find results. I think I could of done a custom search if he was using databases for his website entries except he isn't and all his content is hard coded in to the HTML lol. The only other idea I can think of is how web crawler bots do it. They crawl through each page periodically and track keywords with page references but I have no idea to create such a bot. Anyone up for a challenge LOL?
Go to the top of the page
 
+Quote Post
jlhaslip
post Apr 17 2008, 07:30 AM
Post #6


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,868
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



from an Astahost Topic:

http://www.askdavetaylor.com/how_can_i_add...y_web_site.html
Go to the top of the page
 
+Quote Post
electriic ink
post Apr 18 2008, 10:13 AM
Post #7


Incest is a game the whole family can play.
Group Icon

Group: [MODERATOR]
Posts: 1,200
Joined: 11-February 05
From: Heaven
Member No.: 3,709



It's cheating on a grand scale but this would work:

HTML
<form action="http://google.com/search" method="get" name="searchform">
Search <input type="text" name="q"> <input type="submit" value="Search!" onclick="document.searchform.q.value+=' site:***insertsitenamehere.com***'"> </form>

<noscript><br> The search engine requires javascript to work</noscript>


It saves creating tonnes of your own php code...
Go to the top of the page
 
+Quote Post
dave2win
post Apr 18 2008, 10:48 AM
Post #8


Member [Level 1]
****

Group: [HOSTED]
Posts: 65
Joined: 7-April 08
From: Toronto, Canada
Member No.: 60,502



If you have php enabled on your Web Server then you can easily add a serach engine. Just use sphider. It's one of the best search egines written in PHP. I myself use it on a web site of mine. You can find the sphider Script at http://www.sphider.eu/. You can download the script and change the settings and you can index the pages you need. It works in a very similar fashion to that of Google. And it meets with the recommendations mentioned by you in the first post.

You can see a working prototype of Sphider at http://emmaforever.co.nr. This is the site which I was talking about. I own this site. Go to Site Section and scroll down the page to see a Search Input Box. Enter "Emma" ( I recommend this term as this site is on Emma Watson and it has a lot of instances of Emma Watson, you may also get a lot of results for some common words. It does in site searching so stick to the words which you see on the first page otherwise you may not get any results as I ahve not totally finished the site and the pages are not so Vocabulry Rich ). You'll get a list of results. You can also use it in an Advanced Mode.

I hope this helps you.

Go to the top of the page
 
+Quote Post
sonesay
post Apr 20 2008, 12:21 AM
Post #9


|||[ n00b King ]|||
*********

Group: [HOSTED]
Posts: 640
Joined: 20-June 07
From: Auckland
Member No.: 45,102



QUOTE(electriic ink @ Apr 18 2008, 10:13 PM) *
It's cheating on a grand scale but this would work:

HTML
<form action="http://google.com/search" method="get" name="searchform">
Search <input type="text" name="q"> <input type="submit" value="Search!" onclick="document.searchform.q.value+=' site:***insertsitenamehere.com***'"> </form>

<noscript><br> The search engine requires javascript to work</noscript>


It saves creating tonnes of your own php code...


Interesting script but it still opens goes off the site to Google which is not what I'm after. Another problem was my friends page is not even indexed in Google LOL so there returns no search results.

QUOTE(dave2win @ Apr 18 2008, 10:48 PM) *
If you have php enabled on your Web Server then you can easily add a serach engine. Just use sphider. It's one of the best search egines written in PHP. I myself use it on a web site of mine. You can find the sphider Script at http://www.sphider.eu/. You can download the script and change the settings and you can index the pages you need. It works in a very similar fashion to that of Google. And it meets with the recommendations mentioned by you in the first post.

You can see a working prototype of Sphider at http://emmaforever.co.nr. This is the site which I was talking about. I own this site. Go to Site Section and scroll down the page to see a Search Input Box. Enter "Emma" ( I recommend this term as this site is on Emma Watson and it has a lot of instances of Emma