head	1.9;
access;
symbols
	rel-2-4-3a:1.9
	rel-2-4-3:1.9
	rel-2-4-2:1.8
	rel-2-4-1:1.8
	rel-2-4-0-patches:1.8.0.2
	rel-2-4-0:1.8
	rel-2-2-3:1.7
	rel-2-2-2:1.7
	rel-2-2-1-merged:1.7
	rel-2-2-1:1.7
	rel-2-2-patches:1.7.0.2
	rel-2-2a:1.7
	rel-2-2:1.7
	rel2-2rc1:1.7;
locks; strict;
comment	@# @;


1.9
date	2004.06.04.06.18.30;	author whmoseley;	state Exp;
branches;
next	1.8;

1.8
date	2003.04.08.22.48.16;	author whmoseley;	state Exp;
branches;
next	1.7;

1.7
date	2001.12.08.21.48.00;	author whmoseley;	state Exp;
branches;
next	1.6;

1.6
date	2001.07.02.00.15.04;	author whmoseley;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.01.22.55.04;	author whmoseley;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.01.05.10.29;	author whmoseley;	state Exp;
branches;
next	1.3;

1.3
date	2001.05.27.00.01.13;	author whmoseley;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.12.15.03.22;	author whmoseley;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.11.07.27.51;	author whmoseley;	state Exp;
branches;
next	;


desc
@@


1.9
log
@
Updates to search.cgi as discussed on the list.

Todo:
    docs
    test under mod_perl
    stemming (let highlight detect?)
    other stemmers/disable stemmer
@
text
@These are example scripts that can be used with SWISH-E.

swish.cgi   - example search script that allows displaying results
              page-by-page.  Type `perldoc swish.cgi.in' from the
              examples directory for instructions.
              Note: before installation the file is "swish.cgi.in"

swish.gif   - Swish-e logo.

swish.tmpl  - HTML::Template file for use with swish.cgi.

swish.tt    - Template::Toolkit example template file for swish.cgi
              (renamed from search.tt Jun 3, 2004)

modules     - Directory containing required modules for use with swish.cgi.
              The modules are installed into $libexecdir/swish-e/perl.

templates   - Directory with templates for the search.cgi example script.


SWISH-Stemmer-0.05.tar.gz
            - Perl module to provide stemming to swish.cgi and swish2.cgi to
              support term highlighting when using a stemmed index.
@


1.8
log
@
Configure and make set location in the swish.cgi script for path to perl, modules directory,
and the path to the swish-e binary.
@
text
@d12 2
a13 1
search.tt   - Template::Toolkit example template file.
d18 1
@


1.7
log
@Updating CGI script once again
@
text
@d4 1
a4 1
              page-by-page.  Type `perldoc swish.cgi' from the
d6 1
d15 1
@


1.6
log
@Updated the swish.cgi script, once again.

It couldn't be easier to use...
@
text
@d7 7
a13 11
swish2.cgi -  example script that uses modules such as HTML::Template
              to separate content from program logic, and uses modules
              as to abstract the interface to swish.
              Can easily be adjusted to limit searches by metanames
              and also sort and display additional properties defined
              in your index.
              Will run under mod_perl.
              The CGI script does require Perl modules available
              on CPAN.
              Type `perldoc swish2.cgi' from the
              examples directory for instructions.              
a14 1
swish.gif   - Swish-e logo for the CGI scripts.              
a15 4
swish.tmpl  - HTML template files for use with swish.cgi.
swish2.tmpl   These are just simple examples that you can modify
              to meet your needs.  They are used with the swish2.cgi
              example program.
@


1.5
log
@Minor updates to the search scripts, and added highlight code
to second CGI script.
@
text
@d23 1
a23 1
              to meet your needs.  They are use with the swish2.cgi
@


1.4
log
@
Our new module-free search script.
@
text
@d9 5
a13 1
              as an abstract interface to swish.  Will run under mod_perl.
d16 4
a19 1
              
d23 2
a24 1
              to meet your needs.
@


1.3
log
@
Added new template, and small code changes.

More to be done on this example.  Might be nice to provide a
"make install-cgi" to automate the process.  Of course, there's only
two files to copy, so it's not THAT much work....
@
text
@d6 4
d13 1
d18 3
@


1.2
log
@Fixed a bug in generating hrefs

updated docs
@
text
@d3 1
a3 1
swish.cgi  -- example search script that allows displaying results
d6 7
a12 1
swish.tmpl -- HTML template file for use with swish.cgi
@


1.1
log
@Example CGI scripts.

Not sure what to do with Windows users.  How do you do safe pipe-opens
under windows?
@
text
@d4 2
a5 1
              page-by-page.
@

