how to make a search engine.
Moderator: General Moderators
how to make a search engine.
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.
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.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Re: how to make a search engine.
Really?claws wrote:I have made a complete ajax based website.
Disable JavaScript in your browser and see what happens.
Bad SEO isn't the only reason not to rely in JavaScript for everything.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
How can search Engines like Google or Yahoo search my site??search engine?
you can use "file_get_contents()" to get the results from GOOGLE OR YAHOO.as the html on you site page
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.
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
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)