Dynadot โ€” .com Transfer

Simple Search Engine

SpaceshipSpaceship
Watch

Barrucadu

Established Member
Impact
64
Demo

What this does is search a pages contents for a keyword, if the keyword is found, the uri is added to an array, and every page on the array is scanned for links, which are then scanned for the keyword, etc.
The array returned is a user-definable size, and it includes options to limit the spider to only crawl specific domains.

It's a bit slow because it indexes all the pages on the fly, if you made it store them in a database, and then search through the database it would be so much faster, but this is just a simple bit of code for people. Also: because it can be slow, I wouldnt recommend setting the max number of pages to much more than 100, thats what the demo is set to and you can see how slow it is (over a minute and a half, lol)

ToDo:
  • robots.txt support
  • <meta> robots support
  • speed it up a bit
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Yeah, I think additional caching function would make it awesome search engine script. Looking forward to stable version. :D
 
0
•••
Yeah, if would have some more speed, and some better stuff (like better design,caching),
i would run it on one of my site ;)
 
0
•••
boebi said:
Yeah, if would have some more speed, and some better stuff (like better design,caching),
i would run it on one of my site ;)

Actually I don't see the problem with the layout, it can be easily edited in the demo.php cpage, a simple fieldset would make it good. But that's probably my point of view as a website creator :)
 
0
•••
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back