Page 1 of 1
how to make a search engine.
Posted: Sun Sep 09, 2007 1:11 am
by claws
I have made a complete ajax based website.
so, there is only one page(index) that loads all the navigation pages. using ajax
so, I cant use google to implement search in my site.
I have to write my own search code which searches the database and fetches the search results.
but i have absolutely no idea how to do that.
kindly can any one give me some idea.
Re: how to make a search engine.
Posted: Sun Sep 09, 2007 6:46 am
by superdezign
claws wrote:I have made a complete ajax based website.
Really?
Disable JavaScript in your browser and see what happens.
Bad SEO isn't the only reason not to rely in JavaScript for everything.
Posted: Mon Sep 10, 2007 1:34 am
by playgames
search engine?
you can use "file_get_contents()" to get the results from GOOGLE OR YAHOO.as the html on you site page
Posted: Mon Sep 10, 2007 7:48 am
by superdezign
playgames wrote:search engine?
you can use "file_get_contents()" to get the results from GOOGLE OR YAHOO.as the html on you site page
I'm 100% sure both of them prohibit that.
Unless you're willing to take up a lawsuit with the biggest companies on the web...
Posted: Mon Sep 10, 2007 8:17 am
by claws
search engine?
you can use "file_get_contents()" to get the results from GOOGLE OR YAHOO.as the html on you site page
How can search Engines like Google or Yahoo search my site??
because as viewed by them there will be only one page index.php
rest all other pages(/content) are fetched from databse using xmlHTTP functions in Javascript.
I think any search engine can understand( index) the webpages only if they are linked.
but here in this website there is no link.
Each link is a javascript function that is called and fetches required content from the database.
Posted: Mon Sep 10, 2007 8:20 am
by claws
so, The only way that i feel left is
to write my own search code. which searches the my database. and gives the results.
Please explain in detail if i am wrong.
Posted: Mon Sep 10, 2007 10:37 am
by xpgeek
You can use mnogosearch or sphinx for indexed search.
For fulltext search you can use MYSQL FULLTEXT search.
Posted: Tue Sep 11, 2007 7:48 am
by claws
thanks a lot..
May be this will solve my problem.
Posted: Tue Sep 11, 2007 3:47 pm
by mrkite
I think the question is: how can people bookmark a specific page on your site?
Posted: Wed Sep 12, 2007 3:51 am
by CoderGoblin
Most obvious problems with AJAX are lack of back button, bookmarking for users and Search Engine Optimization (SEO) but there are other less noticable problems. Interesting link of a pdf file
Harry Fuecks' talk from the PHP conference (PDF)