Creating a search engine for a website

Reply

Join Date: May 2008
Posts: 27
Reputation: xylude is an unknown quantity at this point 
Solved Threads: 0
xylude xylude is offline Offline
Light Poster

Creating a search engine for a website

 
0
  #1
Jul 5th, 2009
I am wanting to make a search for a website, and I have a plan on how to do it but I am not sure on how to go about indexing the site. My idea is to run a script through the pages that parses everything between the <p> and </p> tags and places each paragraph separately into a database.

I don't really know what function would help me do this, if anyone could just point me in the right direction on what I should be reading to make this happen it would be very helpful.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 188
Reputation: kireol is an unknown quantity at this point 
Solved Threads: 24
kireol kireol is offline Offline
Junior Poster

Re: Creating a search engine for a website

 
0
  #2
Jul 5th, 2009
FYI, you can just use google's site function combined with a form

example here:
http://www.askdavetaylor.com/how_can..._web_site.html

Hard to beat google for site indexing and search
Why do Daniweb moderators edit CODE tags into CODE=style but don't check "solved".
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,479
Reputation: cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about cwarn23 has a spectacular aura about 
Solved Threads: 136
cwarn23's Avatar
cwarn23 cwarn23 is offline Offline
Nearly a Posting Virtuoso

Re: Creating a search engine for a website

 
0
  #3
Jul 6th, 2009
So you want to make a search engine lol. There is a current topic about a simular thing at http://www.daniweb.com/forums/thread200918.html
It talks about the steps to making a bot controlled search engine and even has attached to it some sample scripts. But be aware that there are 2 types of search engines. Bot controlled search engines and database lookup search engines as I call them. The difference - bot controlled search engines have a bot that scan for the data while the other looks up the raw data from or original mysql source live on the search which isn't commonly used. Hope the above links helps.
Try not to bump 10 year old threads as it can be really annoying.
Like php then read my website at http://syntax.cwarn23.net/
Star-Trek-Atlantis - now that's what I call a movie ^_^
My favourite PC. - MacGyver Fan
Bad english note: dis-iz-2b4u
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 27
Reputation: xylude is an unknown quantity at this point 
Solved Threads: 0
xylude xylude is offline Offline
Light Poster

Re: Creating a search engine for a website

 
0
  #4
Jul 6th, 2009
I decided to go with Sphider due to some time constraints on this project. Its open source and seems pretty easy to install and use. Thanks for all the help though!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC