PDA

View Full Version : SEARCH problem


Alias
12-02-2002, 12:48 PM
Hello

I found script for LIVE site search
FM SiteSearch Lite ( http://www.focalmedia.net/ )

and on SITE SEARCH RESULT page this script shows:

1. TITLE - HOMEPAGE
http://www.esnaf.org.yu/html/serbian/homepage.html
RELEVANCE: 41%

2. TITLE - CONTACTPAGE
http://www.esnaf.org.yu/html/serbian/contact.html
RELEVANCE: 41%

...

but I want more :) ... something like:

1. TITLE - HOMEPAGE
... bla bla bla bla bla blabala bnalbla blah blah blahblahblah bbhalb blah blah
bla blabala bnalbla. Searched WORD (highlight) blahblahbla
bla blabala bnalbla blah blah blahblahblah bbhalb blah blah blah blahb ...
http://www.mysite.com/html/english/homepage.html
RELEVANCE: 41%

2. TITLE - CONTACTPAGE
... bla bla bla bla bla blabala bnalbla blah blah blahblahblah bbhalb blah blah
bla blabala bnalbla. Searched WORD (highlight) blahblahbla
bla blabala bnalbla blah blah blahblahblah bbhalb blah blah blah blahb ...
http://www.mysite.com/html/english/contact.html
RELEVANCE: 41%

...

i found script for that:

HTML::Highlight
http://geocities.com/tripiecz/

but I don't know PERL and this is big problem for me.
how to implement HTML::Highlight in FM SiteSearch Lite ???

You can download this two scripts from:
http://www.ptt.yu/korisnici/e/s/esnafsm/search.zip (7 kb)
http://www.ptt.yu/korisnici/e/s/esnafsm/highlight.zip (6 kb)

P.S.
I don't have any knowledge in pearl and need some
detailed instructions about this problem

Best Regards

magnus127
12-04-2002, 04:51 PM
Does the script have to be on your site? cgispy (http://cgispy.com) is a remote hosting service, and they have a decent search engine that'll let your visitors add a site with a description. I used them myself with my last site because I didn't have much space for the database. Another good place to go would be SearchCluster (http://www.searchcluster.com/mysearch/) . I mention this one because you said you don't know Perl.......they'll do the installation for free.:thumbsup:

Alias
12-05-2002, 08:09 PM
thanx magnus !!!

very usefull ...

any other comments ... from others ?

MCookie
12-08-2002, 08:14 AM
Just a few inches away:
http://www.codingforums.com/showthread.php?threadid=11103

Alias
12-09-2002, 01:53 AM
thanx ... very good search script !!!
- in fact, the best script on net for huge sites
they have auto indexing option !!! wow

... but I need LIVE and simple - like FM SiteSearch Lite from focalmedia.net (without indexing) search script ...

... but with page description or excerpt ...
that is my problem ... how to implement page description on result page with this fmsearch.cgi:

- click here to see script in test action:
http://www.galerijalazarvozarevic.org.yu/html/serbian/search.html

here you can download all files:
(fmsearch.cgi
listings.html
main_layout.html)

http://www.galerijalazarvozarevic.org.yu/html/FMsearch.zip