Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 14-03-2003, 11:42 AM
New kid on the block
 
Join Date: Mar 2003
Location: KL
Posts: 1
Rep Power: 0
kulakudin is on a distinguished road
Send a message via ICQ to kulakudin
Question search engine in PERL/CGI

hai for All......
just wanna ask .....
how to develop...or build search engine for website using "CGI/PERL".......i honestly never use this b4..even make website too..so it's quite hard 4 me..to do so..

so..for anyone who knows....pls help meeeee...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 15-06-2006, 11:18 PM
New kid on the block
 
Join Date: Jun 2006
Location: Penang
Posts: 2
Rep Power: 0
greenrob is on a distinguished road
I guess you have to learn basic HTML, Javasciript first before talking about building a search engine :->
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-07-2007, 07:09 PM
Novice Webmaster
 
Join Date: Jul 2007
Location: Southeast Asia
Posts: 12
Rep Power: 0
sputnick is on a distinguished road
no you don't need javascript.

with perl, you have tremendous power of analyzing chunks of text data. it's very easy to extricate data and match patterns.

step one, design a database architecture. this depends on how big, how many fields, what kind of data. for something very simple, all you need is one text file. if you have a very large amount of data, you divide it up, for example, one file each for a-z. if you are matching several expressions, you make it relational, with multiple files.

step two, write a script to enter data into the database, and edit, and delete.

step three, write a script to extricate data from the database. this is your search engines... for example, user searches for "apple", the script goes to file a.txt and looks for pple.

that's it... i guess you need to know some programming
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-07-2007, 07:10 PM
Novice Webmaster
 
Join Date: Jul 2007
Location: Southeast Asia
Posts: 12
Rep Power: 0
sputnick is on a distinguished road
actually in your case, you are just searching thru html files, if there's not that many, skip the database, you can search on the fly. make your script go through each file every time someone searches... might be a bit slow if you have 1000+ files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create your own search engine tansks Mamak Stall 1 26-10-2006 05:39 PM
Search Engine Optimization Jack The Ripper Search Engine Marketing 12 05-10-2006 07:54 AM
search engine coding for php khalil_z Mamak Stall 0 26-05-2005 08:51 PM
search engine question... BanditLeader Mamak Stall 14 28-02-2004 12:01 PM
Search Engine hymns Website Programming 0 13-10-2002 02:27 PM


All times are GMT +8. The time now is 03:17 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61